If you try to watch two paths with the same prefix, the second one is ignored (no signal is emitted). I have seen this behaviour only under macOS (Windows and Linux are not affected).
To replicate the issue, you can use these paths.
If you try to add/remove files inside these paths, the signals will be emitted only for /tmp/pathToWatch.
|For Gerrit Dashboard: QTBUG-60676|
|229618,5||macOS: Fix QFileSystemWatcher to watch paths with the same prefix||5.11||qt/qtbase||Status: MERGED||+2||0|
|231317,1||macOS: Fix QFileSystemWatcher to watch paths with the same prefix||dev||qt/qtbase||Status: ABANDONED||0||0|