GFileMonitor: File monitoring through a symlink doesn't seem to work properly
When monitoring a file g
which is a symlink to a regular file f
, no direct external modification of f
seems to be reported.
When f
is externally modified through g
or another symlink, then the modification is sometimes reported, sometimes not.
One solution to this problem is to monitor not g
, but f
(or both g
and f
, if you care about renaming or deleting g
), but it seems to me that this should be implicitly contained in the monitoring of g
.