ChrisPenner / slick

Static site generator built on Shake configured in Haskell
BSD 3-Clause "New" or "Revised" License
202 stars 23 forks source link

Live reloading? #19

Open luc-tielen opened 3 years ago

luc-tielen commented 3 years ago

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:

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

ChrisPenner commented 3 years ago

Take a look through this PR: https://github.com/ChrisPenner/slick/pull/6 maybe you can get that working for you?

luc-tielen commented 3 years ago

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?)