|
6 | 6 | "focus": false, |
7 | 7 | "panel": "shared" |
8 | 8 | }, |
| 9 | + "problemMatchers": [ |
| 10 | + { |
| 11 | + "name": "esbuild-watch", |
| 12 | + "label": "esbuild watch", |
| 13 | + "owner": "esbuild", |
| 14 | + "source": "esbuild", |
| 15 | + "fileLocation": "relative", |
| 16 | + "pattern": [ |
| 17 | + { |
| 18 | + "regexp": "^\\s*(.*):(\\d+):(\\d+):\\s+(error|warning):\\s+(.*)$", |
| 19 | + "file": 1, |
| 20 | + "line": 2, |
| 21 | + "column": 3, |
| 22 | + "severity": 4, |
| 23 | + "message": 5 |
| 24 | + } |
| 25 | + ], |
| 26 | + "background": { |
| 27 | + "activeOnStart": true, |
| 28 | + "beginsPattern": "^\\[watch\\] build started", |
| 29 | + "endsPattern": "^\\[watch\\] build (finished|failed)" |
| 30 | + } |
| 31 | + } |
| 32 | + ], |
9 | 33 | "tasks": [ |
10 | 34 | { |
11 | 35 | "label": "Build", |
12 | 36 | "dependsOn": [ |
13 | | - "Core - Build", |
14 | | - "Unittest - Build" |
| 37 | + "Core - Build Once", |
| 38 | + "Unittest - Build Once" |
15 | 39 | ], |
16 | 40 | "presentation": { |
17 | 41 | "reveal": "never", |
|
22 | 46 | }, |
23 | 47 | "problemMatcher": [] |
24 | 48 | }, |
| 49 | + { |
| 50 | + "type": "npm", |
| 51 | + "script": "esbuild-all", |
| 52 | + "group": "build", |
| 53 | + "problemMatcher": [], |
| 54 | + "label": "Core - Build Once", |
| 55 | + "presentation": { |
| 56 | + "reveal": "never" |
| 57 | + } |
| 58 | + }, |
| 59 | + { |
| 60 | + "type": "npm", |
| 61 | + "script": "compile-tsc", |
| 62 | + "group": "build", |
| 63 | + "problemMatcher": "$tsc", |
| 64 | + "label": "Unittest - Build Once", |
| 65 | + "presentation": { |
| 66 | + "reveal": "never" |
| 67 | + } |
| 68 | + }, |
25 | 69 | { |
26 | 70 | "type": "npm", |
27 | 71 | "script": "compile-esbuild-watch", |
28 | 72 | "group": "build", |
29 | 73 | "problemMatcher": "$esbuild-watch", |
30 | 74 | "isBackground": true, |
31 | | - "label": "Core - Build", |
| 75 | + "label": "Core - Watch", |
32 | 76 | "presentation": { |
33 | 77 | "group": "buildWatchers", |
34 | 78 | "reveal": "never" |
|
40 | 84 | "group": "build", |
41 | 85 | "problemMatcher": "$tsc-watch", |
42 | 86 | "isBackground": true, |
43 | | - "label": "Unittest - Build", |
| 87 | + "label": "Unittest - Watch", |
44 | 88 | "presentation": { |
45 | 89 | "group": "buildWatchers", |
46 | 90 | "reveal": "never" |
|
0 commit comments