about summary refs log tree commit diff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorJames Moore <hello@jmoore.me>2017-04-05 11:53:39 -0700
committerGitHub <noreply@github.com>2017-04-05 11:53:39 -0700
commitc19e0f1212b63a3db702adc2c6444e1a323b7d27 (patch)
tree261ac7149b1ee61c3d67c5de8e8e33efbe5ffc72 /Vagrantfile
parentbafbf63fcca81ae9dce3a40959b8a47e5fcfc6ac (diff)
Use NFS for the shared folder because it dramatically decreases latency for git operations.
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 154d0e895..b93ec9fa2 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -97,6 +97,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
     config.hostsupdater.remove_on_suspend = false
   end
 
+  config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'vers=3', 'tcp']
+
   # Otherwise, you can access the site at http://localhost:3000
   config.vm.network :forwarded_port, guest: 80, host: 3000