-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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 multi-root aware file watcher #29478
Labels
Milestone
Comments
This was referenced Jun 27, 2017
I am blocked on #29591 |
Tried first couple of points and nothing works for me
|
This was referenced Jun 27, 2017
This was referenced Jun 28, 2017
This was referenced Jun 28, 2017
This was referenced Jun 28, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Test for #28947
Complexity: 5
git checkout
)files.useExperimentalFileWatcher
is set totrue
)files.watcherExclude
setting in different folders to ignore eventsENOSPC
? (see here for how to configure this)git checkout
)files.useExperimentalFileWatcher
is set totrue
)files.watcherExclude
setting in different folders to ignore eventsENOSPC
? (see here for how to configure this)git checkout
)files.useExperimentalFileWatcher
is set totrue
)files.watcherExclude
setting in different folders to ignore events/foo
is on disk but/FOO
is the folder that is opened (via the command line) and file events continue to workgit checkout
)files.useExperimentalFileWatcher
is set totrue
)files.watcherExclude
setting in different folders to ignore eventssubst
command)\\localhost\c$\my_dir
)/foo
is on disk but/FOO
is the folder that is opened (via the command line) and file events continue to workhttps://github.com/Axosoft/nsfw has been introduced behind a setting that allows file watching to use the same underlying library for all OS's as well as being multi-root aware. The file watcher can be enabled by using the setting
"files.useExperimentalFileWatcher": true
, or by just opening multiple folders.The major test cases are highlighted above, make sure you refresh as you're checking a checkbox off to prevent update conflicts. Most of which will involve modifying a file and observing the file event propagates.
You can add a multi-root folder by opening a folder in VS Code and then using the
File: Add Root Folder...
command. This adds the relevant settings to your user settings. Also be sure to launch VS Code usingcode-insiders --verbose
to get file watcher events in the devtools console, this will help verify events are firing correctly and will be very valuable in debugging issues. To verify you are using the new watcher, check the console for this entry:The text was updated successfully, but these errors were encountered: