diff options
-rw-r--r-- | editors/code/src/commands/runnables.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index 26372c1e8..39e542fb6 100644 --- a/editors/code/src/commands/runnables.ts +++ b/editors/code/src/commands/runnables.ts | |||
@@ -201,6 +201,11 @@ export async function startCargoWatch( | |||
201 | ); | 201 | ); |
202 | return; | 202 | return; |
203 | } | 203 | } |
204 | } else if (stderr !== '') { | ||
205 | vscode.window.showErrorMessage( | ||
206 | `Couldn't run \`cargo watch\`: ${stderr}` | ||
207 | ); | ||
208 | return; | ||
204 | } | 209 | } |
205 | 210 | ||
206 | const provider = await registerCargoWatchProvider(context.subscriptions); | 211 | const provider = await registerCargoWatchProvider(context.subscriptions); |