I'm noticing something weird when updating and trying to re-run my local js file. An old version, or partially complete version is repeatedly served instead of the correct, full file.
The only thing that fixes it (I have cacheing switched off in my browser, and its happening in all my browsers) is vagrant halt, then vagrant up.
Unsuccessful attempts to fix it include:
- quitting and restarting my browsers
- loading the js directly in the browser and adding ?sdfkjh to end of url
- right clicking in Firebug to 'resend'
Found this similar issue on stackoverflow: http://stackoverflow.com/questions/12782946/js-and-css-files-in-vagrant-not-properly-encoded-when-saved-outside-of-the-vm
The fix that did work was putting the following inside /web/.htaccess