Nathan Youngman
Nathan Youngman
@ahtik os/fsnotify was pushed back to Go 1.4. the recursive watcher is still up for discussion, but we are looking at fsevents on OS X which is recursive and Windows...
@TriskalJM No updates on this for fsnotify, but see https://github.com/rjeczalik/notify.
I don't actually know if something is going to be added to the standard library at all. At this point, the go tool could just use an **internal** package if...
You can give https://github.com/rjeczalik/notify a try. Fsnotify doesn't yet support recursive watching.
@elgs This is very odd indeed. Would you mind sharing some of the code you use to setup a watcher and process events? I'll try to help reproduce the issue....
Thanks for the example code. I can reproduce it on OS X 10.9. The implementation differs from one OS to the next, which is why you aren't seeing this issue...
@howeyc I booted up my BSD Vagrant box and it works perfectly there. Just a problem on OS X.
So the problem is that `sendDirectoryChangeEvents` does a ReadDir and sends a create event for a file. Then it calls `watchDirectoryFiles` which does a ReadDir as well. By this time...
@elgs The issue with missing create events on OS X has been resolved (thanks to @zhsso) in v1.0.2 with a backport to v0.9.2. Please see https://github.com/go-fsnotify/fsnotify.
@corydoras. Most of the work on fsnotify is over at https://github.com/fsnotify/fsnotify That said, I'm not sure if all these issues have been addressed yet over there.