|
1 | 1 | // See https://go.microsoft.com/fwlink/?LinkId=733558 |
2 | 2 | // for the documentation about the tasks.json format |
3 | 3 | { |
4 | | - "version": "2.0.0", |
5 | | - "tasks": [ |
6 | | - { |
7 | | - "label": "watch", |
8 | | - "dependsOn": [ |
9 | | - "npm: watch:tsc", |
10 | | - "npm: watch:esbuild" |
11 | | - ], |
12 | | - "presentation": { |
13 | | - "reveal": "never" |
14 | | - }, |
15 | | - "group": { |
16 | | - "kind": "build", |
17 | | - "isDefault": true |
18 | | - } |
19 | | - }, |
20 | | - { |
21 | | - "type": "npm", |
22 | | - "script": "watch:esbuild", |
23 | | - "group": "build", |
24 | | - "problemMatcher": "$esbuild-watch", |
25 | | - "isBackground": true, |
26 | | - "label": "npm: watch:esbuild", |
27 | | - "presentation": { |
28 | | - "group": "watch", |
29 | | - "reveal": "never" |
30 | | - } |
31 | | - }, |
32 | | - { |
33 | | - "type": "npm", |
34 | | - "script": "watch:tsc", |
35 | | - "group": "build", |
36 | | - "problemMatcher": "$tsc-watch", |
37 | | - "isBackground": true, |
38 | | - "label": "npm: watch:tsc", |
39 | | - "presentation": { |
40 | | - "group": "watch", |
41 | | - "reveal": "never" |
42 | | - } |
43 | | - }, |
44 | | - { |
45 | | - "type": "npm", |
46 | | - "script": "watch-tests", |
47 | | - "problemMatcher": "$tsc-watch", |
48 | | - "isBackground": true, |
49 | | - "presentation": { |
50 | | - "reveal": "never", |
51 | | - "group": "watchers" |
52 | | - }, |
53 | | - "group": "build" |
54 | | - }, |
55 | | - { |
56 | | - "label": "tasks: watch-tests", |
57 | | - "dependsOn": [ |
58 | | - "npm: watch", |
59 | | - "npm: watch-tests" |
60 | | - ], |
61 | | - "problemMatcher": [] |
62 | | - } |
63 | | - ] |
| 4 | + "version": "2.0.0", |
| 5 | + "tasks": [ |
| 6 | + { |
| 7 | + "label": "watch", |
| 8 | + "dependsOn": ["build-react", "npm: watch:tsc", "npm: watch:esbuild"], |
| 9 | + "presentation": { |
| 10 | + "reveal": "never" |
| 11 | + }, |
| 12 | + "group": { |
| 13 | + "kind": "build", |
| 14 | + "isDefault": true |
| 15 | + } |
| 16 | + }, |
| 17 | + { |
| 18 | + "type": "npm", |
| 19 | + "script": "watch:esbuild", |
| 20 | + "group": "build", |
| 21 | + "problemMatcher": "$esbuild-watch", |
| 22 | + "isBackground": true, |
| 23 | + "label": "npm: watch:esbuild", |
| 24 | + "presentation": { |
| 25 | + "group": "watch", |
| 26 | + "reveal": "never" |
| 27 | + } |
| 28 | + }, |
| 29 | + { |
| 30 | + "type": "npm", |
| 31 | + "script": "watch:tsc", |
| 32 | + "group": "build", |
| 33 | + "problemMatcher": "$tsc-watch", |
| 34 | + "isBackground": true, |
| 35 | + "label": "npm: watch:tsc", |
| 36 | + "presentation": { |
| 37 | + "group": "watch", |
| 38 | + "reveal": "never" |
| 39 | + } |
| 40 | + }, |
| 41 | + { |
| 42 | + "type": "npm", |
| 43 | + "script": "watch-tests", |
| 44 | + "problemMatcher": "$tsc-watch", |
| 45 | + "isBackground": true, |
| 46 | + "presentation": { |
| 47 | + "reveal": "never", |
| 48 | + "group": "watchers" |
| 49 | + }, |
| 50 | + "group": "build" |
| 51 | + }, |
| 52 | + { |
| 53 | + "label": "tasks: watch-tests", |
| 54 | + "dependsOn": ["npm: watch", "npm: watch-tests"], |
| 55 | + "problemMatcher": [] |
| 56 | + }, |
| 57 | + { |
| 58 | + "label": "build-react", |
| 59 | + "type": "npm", |
| 60 | + "script": "build", |
| 61 | + "options": { |
| 62 | + "cwd": "${workspaceFolder}/webview-ui" |
| 63 | + }, |
| 64 | + "presentation": { |
| 65 | + "reveal": "always" |
| 66 | + } |
| 67 | + } |
| 68 | + ] |
64 | 69 | } |
0 commit comments