watchr icon indicating copy to clipboard operation
watchr copied to clipboard

Support glob patterns in paths.

Open vjpr opened this issue 11 years ago • 2 comments

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.

vjpr avatar May 11 '13 00:05 vjpr

I am looking for this feature as well. Maybe use the glob npm module?

cadorn avatar Feb 21 '14 19:02 cadorn

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

balupton avatar Nov 05 '16 21:11 balupton

this is beyond my scope of maintenance, please fund or pr

balupton avatar Nov 24 '23 14:11 balupton

in the upcoming version of watchr, you can provide ignoreCustomCallback thanks to the upcoming v5 version of https://github.com/bevry/ignorefs

balupton avatar Jan 01 '24 19:01 balupton