diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index 26372c1e8b..39e542fb6c 100644 --- a/editors/code/src/commands/runnables.ts +++ b/editors/code/src/commands/runnables.ts @@ -201,6 +201,11 @@ export async function startCargoWatch( ); return; } + } else if (stderr !== '') { + vscode.window.showErrorMessage( + `Couldn't run \`cargo watch\`: ${stderr}` + ); + return; } const provider = await registerCargoWatchProvider(context.subscriptions);