We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbe3c05 commit 7d325e3Copy full SHA for 7d325e3
1 file changed
extensions/ql-vscode/src/qltest-discovery.ts
@@ -152,6 +152,7 @@ export class QLTestDiscovery extends Discovery<QLTestDiscoveryResults> {
152
super();
153
154
this.push(this.qlPackDiscovery.onDidChangeQLPacks(this.handleDidChangeQLPacks, this));
155
+ this.push(this.watcher.onDidChange(this.handleDidChange, this));
156
157
this.refresh();
158
}
@@ -170,6 +171,10 @@ export class QLTestDiscovery extends Discovery<QLTestDiscoveryResults> {
170
171
172
173
174
+ private handleDidChange(uri: Uri): void {
175
+ this.refresh();
176
+ }
177
+
178
protected async discover(): Promise<QLTestDiscoveryResults> {
179
const testDirectories: QLTestDirectory[] = [];
180
const watchPaths: string[] = [];
0 commit comments