Skip to content

Conversation

@dfaust
Copy link
Member

@dfaust dfaust commented Jun 22, 2016

The current example can be confusing since directories report events for their files anyway.

If the newly created files are watched on top of their parent directory, some events get emitted multiple times and in some cases out of order. Since rsnotify condenses events to only 6 possible values, it can be hard to understand what's going on when monitoring a directory.

@passcod
Copy link
Member

passcod commented Jun 22, 2016

Good catch! Also, I took the 6 events from other libraries (mainly Go's fsnotify, iirc), but if you have a proposal to expand that sensibly, then please :)

@passcod passcod merged commit 6da24d6 into notify-rs:master Jun 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants