Pass --all-targets to cargo watch

This commit is contained in:
Aleksi Juvani 2019-05-21 09:44:28 +03:00
parent 4369c1c4a1
commit 854dac335d

View file

@ -57,7 +57,7 @@ export class CargoWatchProvider implements vscode.Disposable {
return;
}
let args = 'check --message-format json';
let args = 'check --all-targets --message-format json';
if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
// Excape the double quote string:
args += ' ' + Server.config.cargoWatchOptions.checkArguments;