We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9028168 commit d1d46a2Copy full SHA for d1d46a2
src/extension.ts
@@ -215,7 +215,11 @@ export function activate(context: ExtensionContext) {
215
if (folders) {
216
const ignored = config.get<string[]>("ignoredFolders", ["**/node_modules/**"]);
217
218
- const watcher = watch(folders, { ignored, ignoreInitial: false })
+ const watcher = watch(folders, {
219
+ ignored,
220
+ ignoreInitial: false,
221
+ persistent: true
222
+ })
223
.on("add", key => provider.files.add(key))
224
.on("unlink", key => provider.files.delete(key))
225
.on("change", key => provider.cache.delete(key));
0 commit comments