Skip to content
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

Support glob patterns in paths. #44

Closed
vjpr opened this issue May 11, 2013 · 4 comments
Closed

Support glob patterns in paths. #44

vjpr opened this issue May 11, 2013 · 4 comments

Comments

@vjpr
Copy link

vjpr commented May 11, 2013

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.

@cadorn
Copy link

cadorn commented Feb 21, 2014

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

@balupton
Copy link
Member

balupton commented Nov 5, 2016

Alright, I've created bevry/ignorefs#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 docpad/docpad#1045

@balupton
Copy link
Member

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

@balupton
Copy link
Member

balupton commented Jan 1, 2024

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

balupton added a commit to bevry/ignorefs that referenced this issue Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants