Skip to content

Commit 2a8ea08

Browse files
committed
fix: Restart the server instead of reloading the window when config changes
1 parent fd298b3 commit 2a8ea08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class Config {
6666
);
6767

6868
if (userResponse === "Reload now") {
69-
await vscode.commands.executeCommand("workbench.action.reloadWindow");
69+
await vscode.commands.executeCommand("rust-analyzer.reload");
7070
}
7171
}
7272

0 commit comments

Comments
 (0)