New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exp/inotify: Read hangs, AddWatch, RemoveWatch fail on recreated directories #2483
Labels
Milestone
Comments
Fix up for review at: http://golang.org/cl/5418045/ |
simple 5 line fix that removes the watch whenever inotify removes the watch (sends the IN_IGNORED event). http://golang.org/cl/6553059/ |
Ken-ichirou MATSUAWA opened a pull request for this issue in fsnotify. https://github.com/go-fsnotify/fsnotify/pull/39 |
fsnotify has been removed from exp |
mpolden
added a commit
to mpolden/unp
that referenced
this issue
Jul 21, 2015
Replace the deprecated golang.org/x/exp/inotify dependency with github.com/rjeczalik/notify. This solves the issue with rewatching of deleted directories: golang/go#2483, which was never fixed in exp. The notify package also provides recursive watching which replaces the existing custom code.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: