winnfsd / vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.
Other
567 stars 62 forks source link

Is it possible to tell NFS to only sync files in one direction? #122

Closed a-r-m-i-n closed 6 years ago

a-r-m-i-n commented 6 years ago

Because I would like to sync existing files from host to VM and update them, but new files in VM should not be synced to host.

So I would like to perform a npm install or composer install without syncing node_modules and vendor back.

This would be great!

Thanks in advance Armin

marcharding commented 6 years ago

No sorry, thats not possible.

What i have done i the past: Mount the vendor/node_modules folders as a tmpfs.

That worked quite well and also gave a good perfomance boost.