watchr
watchr copied to clipboard
Set the level of recurse into subdirectories
Is there a way to restrict the level of recurse into subdirectories to for example only watch the top level directory in ~/dir/ but not the contents of ~/dir/anotherone/?
Thanks!
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
There is no specific option for limiting recursion depth; however, you can use a RegEx with the ignoreCustomPatterns
option.
The RegEx would be something along the lines of ^~/dir/.*/.*
because you want to ignore anything that is child item of a the subdirectory, not the subdirectory itself.
Regex works. Otherwise fund it.