Skip to content
This repository has been archived by the owner on Jul 17, 2018. It is now read-only.

Automatically generate whenever file contents change #11

Open
aprescott opened this issue Nov 29, 2012 · 1 comment
Open

Automatically generate whenever file contents change #11

aprescott opened this issue Nov 29, 2012 · 1 comment

Comments

@aprescott
Copy link
Owner

There needs to be an optional automatic publishing mechanism that detects new or changed posts.

The desired outcome is that a new post can be copied over to _posts manually (say, using rsync), and the site will be generated automatically.

If draft preprocessing is implemented for #9, then the additional behaviour is that editing/adding a file in _drafts should cause the site to be regenerated.

Candidates here are something more at the system level, like an inotifywait wrapper (which is basically how Second Crack does it), or something closer to the application with, say, directory_watcher.

@aprescott
Copy link
Owner Author

Up for debate is whether to handle changes outside of _posts and _drafts as part of this. Probably, yes.

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

1 participant