-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Multi root workspace explorer is not getting updated #29605
Comments
Guess it is related to #29438 ? |
Also adding a folder is not picked up |
@sandy081 any output when you run with --verbose? |
@bpasero I do not see any output when I change files in second root folder from outside. But I see events log in the console when I change files in first root folder from outside. |
@sandy081 I just tried exactly that scenario (had vscode master, docs and distro details) and did a git pull and the contents in the explorer got updated. Can you share your settings? Does it reproduce from a clean VS Code (code-insiders --user-data-dir someDir...) |
@bpasero Nothing changed with new user data dir and also disabling extensions. |
@Tyriar I think you have a wrong check in https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/services/files/node/watcher/nsfw/nsfwWatcherService.ts#L161 for finding out if a folder is a child of another folder that is already watched. A simple indexOf will not do it. I suggest you use one of our helper functions: https://github.com/Microsoft/vscode/blob/master/src/vs/base/common/paths.ts#L359 |
Good find 👍 |
Testing #29478
Expected above multi root workspace is updated with new additions/deletions of files. But not.
The text was updated successfully, but these errors were encountered: