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

Negated entries provided to "ignore" option are making the watcher not detecting any changes #174

Open
antoine-coulon opened this issue May 27, 2024 · 0 comments

Comments

@antoine-coulon
Copy link

Hello,

I'm using @parcel/watcher for skott and the library is nice, thank you!

As it was reported by a skott's user it seems that using negated entries in the ignore option is causing a weird behavior where the watcher does not detect any change. Another issue (#166) was opened by @arciisine close to that topic but the issue is just mentioning a lack of support (that is being able to not ignore some of the entries) and in my case it is causing the watcher to not detect changes at all.

I would either expect:

I created a repo to reproduce the issue with .vscode entries initially coming from .gitignore, provided down to the ignore of @parcel/watcher#subscribe method. You can find all information in the README.md to reproduce the problem.

@antoine-coulon antoine-coulon changed the title Negated entries from the "ignore" option are making the watcher not detecting any changes Negated entries provided to "ignore" option are making the watcher not detecting any changes May 27, 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

1 participant