This is a bug in how inotify for symlinked directories are handled from version 4113. I have a directory that appears in the folder tree more than once.
- Version 4107 can’t display directory symlinks, they just appear as a folder with a link icon.
- Version 4113 and 4121 still can’t display them, but inotify support is broken (at least when the directory symlink appears below the target directory in the folder tree).
- Version 4126 displays directories that are symlinks as if they were normal folders but inotify updates only get applied the last instance of the directory in the folder tree.
Create a directory with the following files and open the folder in Sublime Text:
mkdir src test1 test2
touch src/test.cpp
ln -s ../src test1/
ln -s ../src test2/
Rename src/test.cpp
to src/test2.cpp
and the filename only changes in test2/src/
: