We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b31a769 + b96cd6c commit dd1b054Copy full SHA for dd1b054
extensions/ql-vscode/src/extension.ts
@@ -717,12 +717,13 @@ async function installOrUpdateThenTryActivate(
717
return undefined;
718
}
719
720
-const PACK_GLOBS = [
+const CLEAR_PACK_CACHE_ON_EDIT_GLOBS = [
721
"**/codeql-pack.yml",
722
"**/qlpack.yml",
723
"**/queries.xml",
724
"**/codeql-pack.lock.yml",
725
"**/qlpack.lock.yml",
726
+ "**/*.dbscheme",
727
".codeqlmanifest.json",
728
"codeql-workspace.yml",
729
];
@@ -769,7 +770,7 @@ async function activateWithInstalledDistribution(
769
770
ctx,
771
);
772
- for (const glob of PACK_GLOBS) {
773
+ for (const glob of CLEAR_PACK_CACHE_ON_EDIT_GLOBS) {
774
const fsWatcher = workspace.createFileSystemWatcher(glob);
775
ctx.subscriptions.push(fsWatcher);
776
extensions/ql-vscode/test/unit-tests/common/short-paths.test.ts
0 commit comments