Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #12471 - Veykril:reload-restart, r=Veykril
fix: Restart the server instead of reloading the window when config changes cc https://github.com/rust-lang/rust-analyzer/issues/12469#event-6743447147
bors 2022-06-05
parent 6667061 · parent 2a8ea08 · commit d471d92
-rw-r--r--editors/code/src/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index fd9665b614..dba3421978 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -66,7 +66,7 @@ export class Config {
);
if (userResponse === "Reload now") {
- await vscode.commands.executeCommand("workbench.action.reloadWindow");
+ await vscode.commands.executeCommand("rust-analyzer.reload");
}
}