Open cfelder opened 4 months ago
Care to give an example, what would a directory look like where the current behavior is inappropriate?
Watching the directory per inotify rules or the file per stat (not lstat!) rules makes the most sense in all scenarios I can imagine (but then again, I cannot imagine why anyone would nowadays use symlinks for situations where a symlink-free race-free RENAME_EXCHANGE operation is sufficient).
Currently the mtime check for extra files does not follow symlinks, thus cannot determine updates on symlinked files.
(I've currently no use case in mind where it would make more sense to wait for an update on the symlink.)