Single file support for inotify#22
Conversation
|
Great work! Is inotify the only one that needs this, or do the others (polling) also need patching up? Add yourself to the authors array in the Cargo.toml :) @maurizi Not sure if your work on the Windows implementation supports single file watching, is it possible, harder, easy ? Just to let you know we're apparently going to support that now. |
|
Patched and added |
|
@passcod Windows only really has a notion of watching directories, so this will be harder on Windows, since we'll have to add a layer above this that filters out events not for that file. Since it looks like |
|
I'm going to merge this to fix #16. FS watchers in general seem to only support watching folders, with exceptions. So we'll have to figure an internal API, perhaps with traits, so a backend could:
and then Notify itself would take care of wrangling each backend to provide the same public API. |
Single file support for inotify and poll
Fix #16