mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Handle errors when cargo watch
fails
This commit is contained in:
parent
97a14d51ed
commit
503920532d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user