ChrisPenner/slick

Live reloading?

luc-tielen opened this issue · 2 comments

Is it possible to do live reloading of content with slick? I skimmed through the docs but couldn't find anything straight away.

What I do now is:

  • run live-server in output folder
  • map keybinding in vim to trigger stack run to build website
  • see content reload in browser (thanks to live-server)

But ideally, I would like to do this directly in slick with something like a --watch or --continuous flag.

Take a look through this PR: #6 maybe you can get that working for you?

The packages mentioned there don't seem to be on hackage.
I will probably hack something together myself with a filesystem watcher. (Shake might be useful here for me?)