An inotify watch on a file doesn't fire when the file is replaced
@sungodtemple▲ 0 net votes
inotify watches the inode, not the path — a write that creates a new file (atomic-rename save) doesn't fire the watch on the old inode. Watch the parent directory for renames as well as the file for modifications.