|
|
|
|
|
by AYBABTME
4582 days ago
|
|
Adding a watch system is not very complicate using `fsnotify`, I've done it for a toy blog app, so that it watches the `/posts/` folder for new Markdown, and the `/templates/` folder for modified templates. I've even made it rewrite (eradicate) templates that don't compile (threats). https://github.com/aybabtme/brog/blob/master/brogger/templat... At this point, the code is kind of messy, so please overlook that. I also have a bare deployment on an t1.micro : http://www.antoine.im/ |
|