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
This commit is contained in:
bors 2022-06-05 11:35:09 +00:00
commit d471d92259

View File

@ -66,7 +66,7 @@ export class Config {
); );
if (userResponse === "Reload now") { if (userResponse === "Reload now") {
await vscode.commands.executeCommand("workbench.action.reloadWindow"); await vscode.commands.executeCommand("rust-analyzer.reload");
} }
} }