Open Noitidart opened 9 years ago
Correction on WINNT, if subtree
is set to false, and watching dir X
which as a subdir Y
. If anything immediately in Y
is renamed/created/deleted you get a CONTENTS_MODIFIED
on the Y
. To make it match inotify and GioFileMonitor, I can do a test on every CONTENTS_MODIFIED
to see if it is a dir, if it is, then discard that notification to devhandler.
On FSEVents 10.7+ no matter what I try anything no matter how deep the subdir is in dir X
it will trigger. Right now I throw those events away.
The quirk mentioned on on inotify is _expected behavior_. It is the same behavior of GioFileMonitor. I am striving to make Windows and Mac match that behavior.
Topic to keep track of quirks that are wontfix maybe
subtree
arg to false, if create a new file in a subdir of watched dir you get notification on dir changed with subdir name (elaborate on this, this is from memory)