Fix markdown link diagnostics not updated when directories are renamed / deleted (#157956)

Fix markdown link diagnostics not updated when directories are renamed/deleted

Turns our that `createFileSystemWatcher` will not fire if a parent dir is renamed / deleted. See #60813

To fix this, I believe we have to create watchers for all parent directories too (or watch everything in the entire workspace)
This commit is contained in:
Matt Bierner
2022-08-12 10:48:40 -07:00
committed by GitHub
parent 8c2fd550a3
commit 720a61fc28
4 changed files with 108 additions and 10 deletions

View File

@@ -236,6 +236,7 @@ export class VsCodeClientWorkspace implements md.IWorkspaceWithWatching {
id,
uri: resource.toString(),
options,
watchParentDirs: true,
});
return {