Handle errors when cargo watch fails
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user