Of the changes are visible from the Windows Explorer, but not from Chrome, then I think is a caching issue with the browser!?
No, cache is turned off, and I've manually flushed. Opening and closing the file on the guest would not cause the changes to be visible if it were a browser caching issue.
Also, I have other files that are server side (i.e. handled by Java Servlet Container) that have the same issue.
(BTW, thanks for the help)
I concur with André's assessment: If you are using Samba to share the files, there's nothing different about doing this in a VM compared to using physical machines. I'd double-check the host's samba configuration to make sure that it isn't being too aggressive with caching file metadata... maybe it is hiding the file updates from the client and Windows Explorer is being a bit more forceful about obtaining the latest file metadata.
Thanks Darius, any pointers on how to disable file metadata caching in Samba? I'm doing some googling but haven't seen a good explanation yet.
Hmmm... not immediately. It's been a looooong time since I played around with samba.
From a quick glance through "man smb.conf", one parameter you might want to investigate is "dos filetime resolution"... just in case that is confusing matters.
What's the underlying filesystem on the host side from which samba is obtaining the data? I'd be suspicious of the noatime or nodiratime mount options... they might also prove confusing for samba and/or the client, so it might be worth removing those if they are present.
To be clear: These are both guesses at best... but that's all I have for now.
Darius - thanks for the suggestions. Unfortunately I have still been unable to get this working. I've tried changing/disabling every config option in samba to no avail. One thing I did find was that restarting smbd forces the guest to pick up the latest file changes. So, every time I save the file and wish to run the app I have to restart smbd.
I'm absolutely lost as to why this would be. I use samba/vmware on my windows host to a linux guest and don't have this problem. Its only on my linux host to windows guest where it falls down.
Any other suggestions?