diff options
Diffstat (limited to 'editors/code/src/commands/runnables.ts')
-rw-r--r-- | editors/code/src/commands/runnables.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index 7bba6f9cb..3589edcee 100644 --- a/editors/code/src/commands/runnables.ts +++ b/editors/code/src/commands/runnables.ts | |||
@@ -137,11 +137,11 @@ export async function handleSingle(runnable: Runnable) { | |||
137 | export async function interactivelyStartCargoWatch( | 137 | export async function interactivelyStartCargoWatch( |
138 | context: vscode.ExtensionContext | 138 | context: vscode.ExtensionContext |
139 | ) { | 139 | ) { |
140 | if (Server.config.enableCargoWatchOnStartup === 'disabled') { | 140 | if (Server.config.cargoWatchOptions.enableOnStartup === 'disabled') { |
141 | return; | 141 | return; |
142 | } | 142 | } |
143 | 143 | ||
144 | if (Server.config.enableCargoWatchOnStartup === 'ask') { | 144 | if (Server.config.cargoWatchOptions.enableOnStartup === 'ask') { |
145 | const watch = await vscode.window.showInformationMessage( | 145 | const watch = await vscode.window.showInformationMessage( |
146 | 'Start watching changes with cargo? (Executes `cargo watch`, provides inline diagnostics)', | 146 | 'Start watching changes with cargo? (Executes `cargo watch`, provides inline diagnostics)', |
147 | 'yes', | 147 | 'yes', |