Nautilus doesn't ask the extension for new icons often enough, seemingly even if files are changing on disk.
This might be a bug in Nautilus, and if so should be reported upstream.
We could also perhaps invalidate the file info after a fixed time, e.g. 5 minutes, to force Nautilus to ask for the info again.
We could use inotify to watch all the files and invalidate only when something actually changes, but I suspect this won't scale since inotify has fairly strict limits on how many files you can watch.
Nautilus doesn't ask the extension for new icons often enough, seemingly even if files are changing on disk.
This might be a bug in Nautilus, and if so should be reported upstream.
We could also perhaps invalidate the file info after a fixed time, e.g. 5 minutes, to force Nautilus to ask for the info again.
We could use inotify to watch all the files and invalidate only when something actually changes, but I suspect this won't scale since inotify has fairly strict limits on how many files you can watch.
See also: https://github.com/chrisjbillington/git-nautilus-icons/issues/19