Use NFS for the shared folder because it dramatically decreases latency for git operations.

This commit is contained in:
James Moore 2017-04-05 11:53:39 -07:00 committed by GitHub
parent bafbf63fcc
commit c19e0f1212
1 changed files with 2 additions and 0 deletions

2
Vagrantfile vendored
View File

@ -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