-
Notifications
You must be signed in to change notification settings - Fork 682
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
watchmedo not using ignore patterns #326
Comments
Having the same problem. It'a monitoring .git files/folders. Using OSX, python 2.7 |
Seems to be an issue on all platforms: |
Still happening 2 years layer, watchdog 0.8.3, still. Is this project dead? |
watchmedo shell-command --ignore-directories --recursive \
--patterns="*.xml" \
--ignore-patterns="*/.#*.xml" \
--command='echo "${watch_src_path} - ${watch_event_type}"' . The above script would recursively watch all xml files in the present working directory ignoring temporary xml files which some text editors (e.g. emacs) might create. P. S. Open Source projects do not die - they are are immortal :) |
Looks like it's related to #335 |
I am using rsync to download many files to a directory like so:
rsync /src/directory/*.txt /download/dir/
And then, using watchmedo to run a command on each new text file:
The problem is that watchmedo isn't catching the ignore patters and running the command on the temp files created by rsync:
System Specs
Ubuntu 14.04
python 2.7.6
watchmedo 0.8.3
The text was updated successfully, but these errors were encountered: