-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rsync auto command should not watch excluded folders #3159
Comments
Seems like we could reasonably manage this via Guard's |
So this is harder than I expected, because rsync's exclude syntax is pretty advanced. I'm doing my best though to support at least SOME of it. |
Okay, I got something in that works for most rsync exclude patterns! |
Thanks @mitchellh for your reactivity! How can we test this new release? |
1.5.1 will come out shortly. |
Just tested the 1.5.1. I still have high-latency between a change and its detection by the watcher even when paths seem correctly ignored:
I'll stick with my Grunt tasks (https://gist.github.com/arnaudbreton/9517344) for the moment since it detects changes very fast (mainly because it only watches some specified paths). |
Should we re-open this issue @mitchellh? |
No, beacuse the issue at hand here is fixed well enough, it passes the ignores through. I'm not sure why you're seeing any slowness. The "Listening adapter" is not polling correct? (in the logs) |
It does, but take a lot of time to detect changes. |
Did this stop working? My excluded folders are definitely triggering rsync calls, and I get a ton of duplicate directory warnings from Guard. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
As far as I understand the Vagrant rsync auto command code, it watches the shared folder and subfolders.
The
rsync__exclude
parameter seems not to be used by this command, it is only used when launching the rsync command.The text was updated successfully, but these errors were encountered: