Skip to content

Commit 8f8ed52

Browse files
authored
Fix the file watcher (#1983)
1 parent a190707 commit 8f8ed52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ class DefaultClient implements Client {
450450
if (this.rootFolder) {
451451
// WARNING: The default limit on Linux is 8k, so for big directories, this can cause file watching to fail.
452452
this.rootPathFileWatcher = vscode.workspace.createFileSystemWatcher(
453-
path.join(this.RootPath, "*"),
453+
"**/*",
454454
false /*ignoreCreateEvents*/,
455455
true /*ignoreChangeEvents*/,
456456
false /*ignoreDeleteEvents*/);

0 commit comments

Comments
 (0)