How to exclude (ignore) certain folders in vagrant rsync?
问题 I wish to run npm install in my vagrant virtual box. But whenever I ran the npm install command, my rsync will execute. Since my host computer does not have node_modules installed, it simply remove the folder completely for me. What do I need to do so that my vagrant rsync will ignore the node_modules folder? I cannot have node_modules being rsynced into the guest machine because my host and guest are two different systems. So far my vagrantfile looks like this. Vagrant.configure("2") do