Delay in shared folders updating - how to force sync?
Setup: Host: Windows Guest: vagrant precis64 (as the lessons describe) Host Editor: Pycharm
I'm finding that a file I modify with PyCharm shows up instantly in Windows file system, but is delayed several minutes before it shows up in the Linux VM. This has caused significant hassle.
For example, I change models.py and then try to run a south migration and it gets very screwed up because it uses the file from a few minutes earlier that was only partway done. Once the database got so messed up I had to delete the table, delete the migrations folder, and start over.
Does anyone know how to either:
1) Make these file syncs happen faster in the background?
or
2) Have some manual way of forcing the file to synchronize between the Windows Host and Linux guest?
I can of course simply display the file to see if it's been synchronized yet, but I'd rather be able to use the file when I want to and not wait for a few minutes.
Answers
Answered my own question:
control-s in Pycharm forces the file to be saved to the remote host.