We\'ve built a vagrant box for our development box and we are facing some latency issues.
Issues:
When you use NFS its very slow to create a lot of files in a shared directory. As a workaround - Change your vagrant vendor folder to a non shared folder
"config": {
"bin-dir": "bin",
"secure-http" : false,
"vendor-dir" : "/vendor"
},
- Create a symlink in your application folder as some sections of build process might be referring to vendor/bin directory via a relative link
project-dir$ sudo ln -s /vendor vendor
Do composer install, this will be a lot faster
Zip /vendor folder and copy zip into NFS shared project folder