I have an apache webserver that has the code mounted through SSHFS. When I make a change to a file on the remote computer, the webserver does not show the change. If I interact with the file in any way, such as
vim and do not make any changes, then the webserver will show the change correctly and the file modification time updates.
Is there a way to get the file modification time to update correctly, or perhaps I need to modify apache in some way so that it definitely reads the files (perhaps there is some sort of cache based on times that it uses which I could disable)?