blogofile serve option to autorebuild on change #108

Closed
shazow opened this Issue Jul 13, 2011 · 3 comments

4 participants

@shazow

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

It would be useful.
It's a little boring to rebuild all files when you just edited a css file.

@spookylukey

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
Collaborator

See #117.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment