-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Test: new file watcher #135653
Comments
@bpasero Already loving this, I create a lot of Python virtual environments and end up having to refresh the explorer view to see it, just tried this and works like a charm in WSL. |
Works very well, this is what I tried:
|
@DonJayamanne thanks for covering WSL as well 👍 |
Refs: #132483
Complexity: 5
Create Issue
The file watcher (
parcel-watcher
) is the new standard file watcher for all platforms, including remote setups. Besides changing the watcher itself, it was also moved to be under the shared process (unless you use remote). If you encounter weirdness, make sure to also check in the shared process dev tools ("Developer: Toggle Shared Process").Setup: best to test this on a larger code base (like VSCode itself) and doing changes not only in root but also in deep hierarchies. In order to diagnose issues you can:
code-insiders --verbose
Console
by puttingparcel
into the filterparcel
library and a normalised event signalling the event that is actually being sent to VSCode (for remote, this will appear in the remote server logs and can be enabled dynamically by changing the log level from F1 palette)IMPORTANT: over the years we have built a lot of measures to workaround missing file events making it actually a bit harder to test the functionality of these events. As such:
Testing Events
Testing Robustness
npm install
orgit
operation) - monitor devtools output for information in case it stops workingfs.inotify.max_user_watches
(instructions), restart and open a large folder with VSCode and verify you see a warning notification telling you how to increase that limitTesting Settings
files.watcherInclude
setting to enable it for watching and verify that worksfiles.watcherExclude
settingfiles.legacyWatcher: "on"
. if you run with--verbose
and search for "watcher", the name of the watcher will be printed (chokidar
for Linux andnsfw
for macOS/Windows)The text was updated successfully, but these errors were encountered: