blogofile serve option to autorebuild on change
shazow opened this issue · 3 comments
shazow commented
Alternatively could have a separate daemon that autorebuilds on changes.
Personally I would prefer that blogofile serve would rebuild when a request comes in and it checks if things changed since last time, perhaps with a --reload (similar to paster serve --reload) or a --rebuild flag.
driquet commented
It would be useful.
It's a little boring to rebuild all files when you just edited a css file.
spookylukey commented
For anyone coming here looking for solutions, a separate daemon to rebuild looks like this on Linux:
inotifywait -mr -e modify --exclude './_site/.*' . | while read TMP; do { echo $TMP; blogofile build; } done
(assuming you have inotify-tools installed).
douglatornell commented
See #117.