I need to know when a filre has changed while IntelliJ was down. I use a UserData on the Virtual File but that is not restored after a restart. Then I tried to use the BulkFileListener but I don't receive an update during the initial refresh.
So is there a way to psersist user data on a virtual file so that I can detect a change when IntelliJ / Plugin is restarted? Or is there a way to discover changes on a file when the IntelliJ is restarted?