Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/candy-chat/candy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Langfeld <ben@langfeld.me>2015-08-03 17:21:29 +0300
committerBen Langfeld <ben@langfeld.me>2015-08-03 17:21:29 +0300
commit7ea89a1f447ca9ce97ac9485cf09c1a3bbd2855c (patch)
treef858e9e2762e7916dffc588eb7709e6284673418
parentd14bf53321141416b787c3f85b39caf02af54574 (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--Vagrantfile2
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]