Skip to content

Commit 2f1265a

Browse files
committed
fix(vscode): suppress UI error notifications if configuration has changed
#fix #377
1 parent e8e792e commit 2f1265a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vscode-client/extension/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ export async function activateAsync(context: vscode.ExtensionContext): Promise<v
147147
}
148148

149149
for (const uri of affectedFolders) {
150-
await languageClientManger.restart(uri);
150+
setTimeout(async () => {
151+
await languageClientManger.restart(uri);
152+
}, 1000);
151153
}
152154
}),
153155
);

0 commit comments

Comments
 (0)