about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 fd9665b6145..dba3421978a 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");
         }
     }