Filesystem event notification library based on github.com/rjeczalik/notify.
The API has been refactored to simplify implementation and offer better delivery semantics, i.e. order as dispatched by the underlying backend is guaranteed, a slow consumer apply backpressure rather than events being dropped, amongst other benefits.
If the runtime OS offers a recursive watcher (Windows, MacOS > v10.5), then it's used, if not, then the library recursively watches directories under the given directory. This behaviour is triggered by passing a path that ends in "/..." to Watch.
Documentation
godoc.org/github.com/unstablebuild/notify
Installation
~ $ go get -u github.com/unstablebuild/notify