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

Error: Unable to remove watcher: Invalid argument #129

Open
kennsippell opened this issue Jan 20, 2023 · 1 comment
Open

Error: Unable to remove watcher: Invalid argument #129

kennsippell opened this issue Jan 20, 2023 · 1 comment

Comments

@kennsippell
Copy link

kennsippell commented Jan 20, 2023

I'm running some watcher code in automated tests via mocha, docker, and GitHub CI. Tests make calls to subscribe(), perform some file operations (eg. move a folder of files), and then call unsubscribe().

We are getting the following intermittent failure from await unsubscribe()

Error: Unable to remove watcher: Invalid argument

I've been trying to get a stable repro of this problem by calling subscribe/unsubscribe in a loop with some predictable file operations. Unfortunately, I'm not able to nail down anything stable. I thought I'd still report the issue even without any actionable steps to start a conversation and make the problem searchable.

If somebody wanted to dig in, we can reproduce the problem in about 1/5 runs of this public github CI suite.

@truesteps
Copy link

truesteps commented Mar 6, 2024

Any updates/workarounds on this issue :)? I managed to reach this somehow, it seems that parcel watcher is watching for changes in the .git folder, is there any way to ignore watching some directories for changes? I didn't seem to find anything in Parcel API documentation

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