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 37fbd35 commit fe716e8Copy full SHA for fe716e8
language-server/src/test/test-client.ts
@@ -244,18 +244,18 @@ export class TestClient<Configuration> {
244
245
await writeFile(fileURLToPath(fullUri), text, "utf-8");
246
247
- const buildCompleted = this.buildCompleted();
248
-
249
if (this.watchEnabled) {
+ const buildCompleted = this.buildCompleted();
+
250
await this.client.sendNotification(DidChangeWatchedFilesNotification.type, {
251
changes: [{
252
type: exists ? FileChangeType.Changed : FileChangeType.Created,
253
uri: fullUri
254
}]
255
});
256
- }
257
258
- await buildCompleted;
+ await buildCompleted;
+ }
259
260
return fullUri;
261
}
0 commit comments