Is there anyway to listen for file changes after idea synchronizes them ?
For my perforce plugin I am trying to get the file status from the server.
For that I need to do some amount of caching, otherwise the UI gets really
really slow. However I would like to flush the cache when any change on the
file is noticed. The change could be from IDEA or outside.
I tried to listen to the VirtualFileListener.propertyChanged event, however
does not look like thats very reliable. Sometimes when I sync the files with
repository that event does not fire.
How is it done in other vcs plugins ?
Thanks in advance,