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

Negative globs do not work when a cwd option is passed #46

Closed
JGets opened this issue Aug 6, 2019 · 1 comment
Closed

Negative globs do not work when a cwd option is passed #46

JGets opened this issue Aug 6, 2019 · 1 comment

Comments

@JGets
Copy link

JGets commented Aug 6, 2019

When a cwd option is provided, it appears as though negative globs do not properly get applied.

For example, given a watcher:

watch([ 'bar/**', '!bar/*.css' ], { cwd : 'foo' }, someFunction);

A change to foo/bar/styles.css still triggers someFunction to be invoked.

@phated phated closed this as completed in 5062520 Jul 23, 2020
@phated
Copy link
Member

phated commented Jul 23, 2020

@JGets Thanks for reporting. Sorry for the extreme delay here. The team has been swamped and I had to create a repro for this in our test suite.

I'm getting a patch published as 5.0.4 once CI finishes.

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

2 participants