winnfsd/vagrant-winnfsd

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

a-r-m-i-n opened this issue · 1 comments

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

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.