aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/code/src/commands/cargo_watch.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/cargo_watch.ts b/editors/code/src/commands/cargo_watch.ts
index 1d939e28c..6ba794bb3 100644
--- a/editors/code/src/commands/cargo_watch.ts
+++ b/editors/code/src/commands/cargo_watch.ts
@@ -57,7 +57,7 @@ export class CargoWatchProvider implements vscode.Disposable {
57 return; 57 return;
58 } 58 }
59 59
60 let args = 'check --message-format json'; 60 let args = 'check --all-targets --message-format json';
61 if (Server.config.cargoWatchOptions.checkArguments.length > 0) { 61 if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
62 // Excape the double quote string: 62 // Excape the double quote string:
63 args += ' ' + Server.config.cargoWatchOptions.checkArguments; 63 args += ' ' + Server.config.cargoWatchOptions.checkArguments;