We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can I exclude a subdir?
On the next example I want to exclude /var/www/html/.git directory from /var/www/html checking
/var/www/html/.git
/var/www/html
watch { /var/www/html { recurse = true * { handler = ... } } }
It seems that directories selector must be typed as it is, regexp are not allowed.
The text was updated successfully, but these errors were encountered:
That's correct. The directory selector is passed to inotify, so there isn't a simple way to allow regexs.
You could use a no-op handler to ignore files in a .git directory.
Sorry, something went wrong.
No branches or pull requests
How can I exclude a subdir?
On the next example I want to exclude
/var/www/html/.git
directory from/var/www/html
checkingIt seems that directories selector must be typed as it is, regexp are not allowed.
The text was updated successfully, but these errors were encountered: