When creating a directory tree inside a watched directory it is possible that a deeper subdirectory ends up not being watched, because its parent did not get watched before it was created.
Example:
- Watch rootdir
- create rootdir/subdir
- create rootdir/subdir/subsubdir
- inotify event -> watch rootdir/subdir
- no event for creating subsubdir -> subsubdir is not watched
See https://mail.gnome.org/archives/dashboard-hackers/2004-October/msg00022.html
When creating a directory tree inside a watched directory it is possible that a deeper subdirectory ends up not being watched, because its parent did not get watched before it was created.
Example:
See https://mail.gnome.org/archives/dashboard-hackers/2004-October/msg00022.html