-watch flag
clipperhouse opened this issue · 1 comments
clipperhouse commented
Using (presumably) fsnotify, offer a -watch
flag to automatically run gen on file changes.
This would be nice for having directive changes be immediately implemented. It might cover some use cases mentioned in #65.
We will probably desire some throttling because text editors like Sublime fire a lot of events for a simple file change. See https://github.com/go-fsnotify/fsnotify/issues/17.
clipperhouse commented
This has been added in 918ebc5
Needs docs