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

file watcher: avoid fs.watch #2382

Open
justinmk3 opened this issue Dec 20, 2021 · 1 comment
Open

file watcher: avoid fs.watch #2382

justinmk3 opened this issue Dec 20, 2021 · 1 comment

Comments

@justinmk3
Copy link
Contributor

justinmk3 commented Dec 20, 2021

nodejs fs.watch is unreliable, see #2381

The reason we use fs.watch for cases like https://github.com/aws/aws-toolkit-vscode/pull/2381/files is because vscode's builtin watcher only works for files in a workspace folder. microsoft/vscode#3025

Proposal

@justinmk3
Copy link
Contributor Author

Next vscode release will include this. microsoft/vscode#3025

Note:

For non-recursive watchers, no excludes will apply, but for recursive watchers, the same excludes apply that apply for workspace folder watching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant