dcosson / vagrant-unison2

Vagrant plugin to sync local files to VM using Unison over SSH
MIT License
50 stars 8 forks source link

config.unison.ignore does not work #30

Open niamleeson opened 7 years ago

niamleeson commented 7 years ago

Here are the lines on my Vagrantfile:

config.unison.host_folder = "."
config.unison.guest_folder = "."

config.unison.ignore = "Name {node_modules,bower_components}"

If I create a directory called node_modules and then create any file on Windows side or the vagrant side, the file gets synced between Windows and Vagrant.

I also tried doing this instead as this is what unison documentation said, but files still sync.

config.unison.ignore = "Path node_modules"