Skip to content

Commit b4b848b

Browse files
Updated system watcher
1 parent bc34419 commit b4b848b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/extension.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ export function activate(context: vscode.ExtensionContext) {
5959
myActivate();
6060

6161
// Watch for file system changes - as we're caching the searched files
62-
let watcher: vscode.FileSystemWatcher = vscode.workspace.createFileSystemWatcher("**/*.*");
63-
watcher.ignoreChangeEvents = true;
62+
let watcher: vscode.FileSystemWatcher = vscode.workspace.createFileSystemWatcher("**/*.*", false, true, false);
6463

6564
// Add a file on creation
6665
watcher.onDidCreate((e: vscode.Uri) => {

0 commit comments

Comments
 (0)