Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

blogofile serve option to autorebuild on change #108

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

blogofile serve option to autorebuild on change #108

shazow opened this issue Jul 13, 2011 · 3 comments

Comments

@shazow
Copy link

shazow commented Jul 13, 2011

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
Copy link

driquet commented Nov 25, 2011

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

@spookylukey
Copy link

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
Copy link
Collaborator

See #117.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants