moggers87 / exhibition

A static site generator
GNU General Public License v3.0
5 stars 2 forks source link

[WIP] Add support for watching for changes and re-generating #83

Open tsyesika opened 4 years ago

tsyesika commented 4 years ago

This addresses bug #63. It adds watchdog (and all python, file watcher which supports the major platforms) to watch for changes in your content or templates and if so re-generate them when using the serve command. It also includes the --no-watch flag to retain the old functionality.

Note: This is currently work in progress, it could do with some tests, docs, etc. The PR is just to surface the work until ready for review.