I run into this. Files are only partially synced.
You end up with broken code. If you are lucky it has a syntax error. If you are not lucky you get mysterious bugs.
The work around is to go back and try re-editing the file to retrigger a sync.
There are lots recommendations to try Fusion over Vbox but I think this issue makes it a wash.
Re:Announcing Docker ToolBox
by frapposelli on Thursday August 13, 2015 @11:14AM
(#10054804)
This is a known bug, we're addressing it with a new version of open-vm-tools, there's a thread going on over at github[1] to track this.
Anybody know what would cause VMWare Fusion (or any VM for that matter) to behave this way?