diff options
author | Ben Langfeld <ben@langfeld.me> | 2015-08-03 17:21:29 +0300 |
---|---|---|
committer | Ben Langfeld <ben@langfeld.me> | 2015-08-03 17:21:29 +0300 |
commit | 7ea89a1f447ca9ce97ac9485cf09c1a3bbd2855c (patch) | |
tree | f858e9e2762e7916dffc588eb7709e6284673418 | |
parent | d14bf53321141416b787c3f85b39caf02af54574 (diff) |
VirtualBox file sharing gives nginx a nonsense view of what's on disk
Changes to candy.bundle.js were not being served by nginx, even though `cat` showed the changes. This persisted through `service nginx restart` and even `vagrant reload`.
-rw-r--r-- | Vagrantfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile index 8f277b1..8682f53 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -13,6 +13,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provision :shell, :path => "devbox/provisioning.sh" + config.vm.synced_folder ".", "/vagrant", type: "nfs" + config.vm.provider "virtualbox" do |v| v.name = "candy" v.customize ["modifyvm", :id, "--memory", 768] |