watchr
watchr copied to clipboard
Support glob patterns in paths.
I want to only watch files of certain file extension. Is this possible?
At the moment I'm trying to use ignoreCustomPatterns
with /(?!\.rose)$/ig
but I can't seem to get it working.
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
I am looking for this feature as well. Maybe use the glob
npm module?
Alright, I've created https://github.com/bevry/ignorefs/issues/2 for this. It is fairly straight forward, although I will need to update each thing that uses ignorefs
to reflect the changes as it makes sense changing the API a bit for this.
Will get to it after https://github.com/docpad/docpad/issues/1045
this is beyond my scope of maintenance, please fund or pr
in the upcoming version of watchr, you can provide ignoreCustomCallback
thanks to the upcoming v5 version of https://github.com/bevry/ignorefs