diff options
author | Aleksi Juvani <[email protected]> | 2019-05-21 07:44:28 +0100 |
---|---|---|
committer | Aleksi Juvani <[email protected]> | 2019-05-21 07:44:28 +0100 |
commit | 854dac335d3e8295fba637ad6413d952e6b973ef (patch) | |
tree | 5f2353423113f378f6d782c0aa427f60b98a2918 /editors | |
parent | 4369c1c4a1f098b8e59a462afb9292137498bb43 (diff) |
Pass `--all-targets` to `cargo watch`
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/commands/cargo_watch.ts | 2 |
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; |