|
2 | 2 | "version": "2.0.0", |
3 | 3 | "tasks": [ |
4 | 4 | { |
5 | | - "label": "watch", |
| 5 | + "label": "dev", |
6 | 6 | "dependsOn": [ |
7 | | - "npm: watch:localstack-web-mock-server", |
8 | | - "npm: watch:esbuild" |
| 7 | + "npm: dev:localstack-web-mock-server", |
| 8 | + "npm: dev:extension", |
| 9 | + "npm: dev:appinspector-webview" |
9 | 10 | ], |
10 | 11 | "presentation": { |
11 | 12 | "reveal": "never" |
|
17 | 18 | }, |
18 | 19 | { |
19 | 20 | "type": "npm", |
20 | | - "script": "watch:esbuild", |
| 21 | + "script": "dev:extension", |
21 | 22 | "group": "build", |
22 | 23 | "problemMatcher": { |
23 | 24 | "severity": "error", |
|
40 | 41 | "background": { |
41 | 42 | "activeOnStart": true, |
42 | 43 | "beginsPattern": { |
43 | | - "regexp": "\\[watch\\] build started" |
| 44 | + "regexp": "\\[dev\\] build started" |
44 | 45 | }, |
45 | 46 | "endsPattern": { |
46 | | - "regexp": "\\[watch\\] build finished" |
| 47 | + "regexp": "\\[dev\\] build finished" |
47 | 48 | } |
48 | 49 | } |
49 | 50 | }, |
50 | 51 | "isBackground": true, |
51 | | - "label": "npm: watch:esbuild", |
| 52 | + "label": "npm: dev:extension", |
52 | 53 | "presentation": { |
53 | | - "group": "watch", |
| 54 | + "group": "dev", |
54 | 55 | "reveal": "never" |
55 | 56 | } |
56 | 57 | }, |
57 | 58 | { |
58 | 59 | "type": "npm", |
59 | | - "script": "watch:localstack-web-mock-server", |
| 60 | + "script": "dev:localstack-web-mock-server", |
60 | 61 | "group": "build", |
61 | 62 | "isBackground": true, |
62 | 63 | "problemMatcher": { |
|
86 | 87 | } |
87 | 88 | } |
88 | 89 | }, |
89 | | - "label": "npm: watch:localstack-web-mock-server", |
| 90 | + "label": "npm: dev:localstack-web-mock-server", |
90 | 91 | "presentation": { |
91 | | - "group": "watch", |
| 92 | + "group": "dev", |
| 93 | + "reveal": "never" |
| 94 | + } |
| 95 | + }, |
| 96 | + { |
| 97 | + "type": "npm", |
| 98 | + "script": "dev:appinspector-webview", |
| 99 | + "group": "build", |
| 100 | + "problemMatcher": { |
| 101 | + "severity": "error", |
| 102 | + "applyTo": "closedDocuments", |
| 103 | + "source": "vite", |
| 104 | + "fileLocation": "relative", |
| 105 | + "pattern": [ |
| 106 | + { |
| 107 | + "regexp": "^[✘▲] \\[([A-Z]+)\\] (.+)", |
| 108 | + "severity": 1, |
| 109 | + "message": 2 |
| 110 | + }, |
| 111 | + { |
| 112 | + "regexp": "^(?:\\t| {4})(?!\\s)([^:]+)(?::([0-9]+))?(?::([0-9]+))?:$", |
| 113 | + "file": 1, |
| 114 | + "line": 2, |
| 115 | + "column": 3 |
| 116 | + } |
| 117 | + ], |
| 118 | + "background": { |
| 119 | + // "activeOnStart": true, |
| 120 | + "beginsPattern": { |
| 121 | + "regexp": "build started..." |
| 122 | + }, |
| 123 | + "endsPattern": { |
| 124 | + "regexp": "built in" |
| 125 | + } |
| 126 | + } |
| 127 | + }, |
| 128 | + "isBackground": true, |
| 129 | + "label": "npm: dev:appinspector-webview", |
| 130 | + "presentation": { |
| 131 | + "group": "dev", |
92 | 132 | "reveal": "never" |
93 | 133 | } |
94 | 134 | } |
|
0 commit comments