Skip to content

Commit

Permalink
Auto merge of #12471 - Veykril:reload-restart, r=Veykril
Browse files Browse the repository at this point in the history
fix: Restart the server instead of reloading the window when config changes

 cc #12469 (comment)
  • Loading branch information
bors committed Jun 5, 2022
2 parents 6667061 + 2a8ea08 commit d471d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editors/code/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit d471d92

Please sign in to comment.