You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before you open this issue, please complete the following tasks:
[ x] use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.
[ x] if you are looking for help from the gulp team or community, open a discussion.
if you think there is a problem with the plugin you're using, open a discussion.
if you think there is a bug in our code, open this issue.
Our thoughts on feature requests
Lots of developers rely on gulp, so we don't make big changes very often. Not every feature request will be added to gulp, but hearing about what you want is important. Don't be afraid to submit a feature request!
Describe your idea for a new feature
the glob watcher relies on anymatch which supports a lot of options. For example for me nocase is an example of option I wound like.
Explain the problem your idea is trying to solve
I need to use glob-matcher to match some globs with case insensitivy
How will it benefit gulp and its users?
I think it just allows a whole new set of options without bracking the current functionality
If this feature could exist outside of gulp (like as a plugin or a module), would you be interested in helping to create and maintain it?
The text was updated successfully, but these errors were encountered:
Thanks let me give a try.
I was under the impression from my review of the code that:
// TODO: I'm not sure how to test this if(negatives.some(exists)){varnormalizedPositives=positives.map(joinCwd);varnormalizedNegatives=negatives.map(joinCwd);varshouldBeIgnored=function(path){varpositiveMatch=anymatch(normalizedPositives,path,true);varnegativeMatch=anymatch(normalizedNegatives,path,true);//if negativeMatch is -1, that means it was never negated if(negativeMatch===-1){returnfalse;}// If the negative is "less than" the positive, that means // it came later in the glob array before we reversed them return negativeMatch < positiveMatch; };opt.ignored=[].concat(opt.ignored,shouldBeIgnored);}
The anymatch calls above where not taking advantage of the given options.
Before you open this issue, please complete the following tasks:
Our thoughts on feature requests
Lots of developers rely on gulp, so we don't make big changes very often. Not every feature request will be added to gulp, but hearing about what you want is important. Don't be afraid to submit a feature request!
Describe your idea for a new feature
the glob watcher relies on anymatch which supports a lot of options. For example for me
nocase
is an example of option I wound like.Explain the problem your idea is trying to solve
I need to use glob-matcher to match some globs with case insensitivy
How will it benefit gulp and its users?
I think it just allows a whole new set of options without bracking the current functionality
If this feature could exist outside of gulp (like as a plugin or a module), would you be interested in helping to create and maintain it?
The text was updated successfully, but these errors were encountered: