diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-10 14:21:10 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-10 14:21:10 +0000 |
commit | 543f2ec8f63ca39182c2c33cbfd093bc008560e7 (patch) | |
tree | a5cebb8c398106713e324f1a352a63156389424f /editors | |
parent | a9d09b7ec0721e9ad305866a57989d1aa9c67ec1 (diff) | |
parent | 7cf9c34f66471d7220d50c4e3226d7289bdab688 (diff) |
Merge #957
957: Fix and simplify "rustc-watch" problem matcher r=vemoo a=vemoo
Cargo watch now always ends with "[Finished running ..." and includes some extra info. Make the pattern only match "[Finished running".
Also add "cargo watch" and "cargo watch tests" that use the "rustc-watch" problem matcher.
Change the "Build Lsp" to do "cargo check" because that's faster, and I think enought in this case, and make it use "rustc" problem matcher from the extension.
Co-authored-by: Bernardo <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 47eaac878..0a1e84b4a 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -215,8 +215,8 @@ | |||
215 | "${workspaceRoot}" | 215 | "${workspaceRoot}" |
216 | ], | 216 | ], |
217 | "background": { | 217 | "background": { |
218 | "beginsPattern": "^\\[Running ", | 218 | "beginsPattern": "^\\[Running\\b", |
219 | "endsPattern": "^(\\[Finished running\\]|To learn more, run the command again with --verbose\\.)$" | 219 | "endsPattern": "^\\[Finished running\\b" |
220 | }, | 220 | }, |
221 | "pattern": "$rustc" | 221 | "pattern": "$rustc" |
222 | } | 222 | } |