I modify xml file in write action (some rename action):
Then I read the xml file in next action (some delete action) through VirtualFile.getInputStream() and don't see changes done by 1st action!
P.S. If open the xml file after 1st action, save the xml file and run the 2nd action then the 2nd action sees changes.
Please advice how to flush file changes to disk after 1st action.