forked from gregghz/Watcher
-
Notifications
You must be signed in to change notification settings - Fork 54
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
regexp in exclude? #11
Comments
In my case (I'm using watcher.ini file, and not yml), I had to remove quotes around regexp. For example: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like regular expressions for excluding files is not working right.
I mean regexps like those mentioned here:
https://github.com/seb-m/pyinotify/blob/master/python2/examples/exclude.py
Are they tested?
For example I am excluding in jobs.yml:
['/home/foo/bar/','^/home/foo/bar/temp.']
or even:
['/home/foo/bar/','/home/foo/bar/temp.']
but I'm still getting notified for excluded files matching the regexp.
(I'm getting notifications for files like '/home/foo/bar/temp-1-2-3').
The text was updated successfully, but these errors were encountered: