|
7 | 7 | "label": "compile", |
8 | 8 | "type": "npm", |
9 | 9 | "script": "compile", |
10 | | - "dependsOn": ["npm: build:webview"], |
11 | 10 | "group": { |
12 | 11 | "kind": "build", |
13 | 12 | "isDefault": true |
|
30 | 29 | } |
31 | 30 | }, |
32 | 31 | { |
| 32 | + "label": "debug-mode", |
| 33 | + "dependsOn": ["compile", "npm: dev"], |
| 34 | + "group": { |
| 35 | + "kind": "build", |
| 36 | + "isDefault": false |
| 37 | + }, |
| 38 | + "dependsOrder": "parallel", |
| 39 | + "presentation": { |
| 40 | + "reveal": "always", |
| 41 | + "panel": "new" |
| 42 | + } |
| 43 | + }, |
| 44 | + { |
| 45 | + "label": "npm: dev", |
33 | 46 | "type": "npm", |
34 | | - "script": "build:webview", |
| 47 | + "script": "dev", |
35 | 48 | "group": "build", |
36 | | - "problemMatcher": [], |
| 49 | + "problemMatcher": { |
| 50 | + "owner": "vite", |
| 51 | + "pattern": { |
| 52 | + "regexp": "^$" |
| 53 | + }, |
| 54 | + "background": { |
| 55 | + "activeOnStart": true, |
| 56 | + "beginsPattern": ".*VITE.*", |
| 57 | + "endsPattern": ".*Local:.*" |
| 58 | + } |
| 59 | + }, |
37 | 60 | "isBackground": true, |
38 | | - "label": "npm: build:webview", |
39 | 61 | "presentation": { |
40 | 62 | "group": "watch", |
41 | 63 | "reveal": "never" |
42 | 64 | } |
43 | 65 | }, |
44 | 66 | { |
| 67 | + "label": "npm: build:webview", |
45 | 68 | "type": "npm", |
46 | | - "script": "watch:esbuild", |
| 69 | + "script": "build:webview", |
47 | 70 | "group": "build", |
48 | | - "problemMatcher": "$esbuild-watch", |
| 71 | + "problemMatcher": [], |
49 | 72 | "isBackground": true, |
50 | | - "label": "npm: watch:esbuild", |
51 | 73 | "presentation": { |
52 | 74 | "group": "watch", |
53 | 75 | "reveal": "never" |
54 | 76 | } |
55 | 77 | }, |
56 | 78 | { |
| 79 | + "label": "npm: watch:esbuild", |
57 | 80 | "type": "npm", |
58 | | - "script": "watch:tsc", |
| 81 | + "script": "watch:esbuild", |
59 | 82 | "group": "build", |
60 | | - "problemMatcher": "$tsc-watch", |
| 83 | + "problemMatcher": "$esbuild-watch", |
61 | 84 | "isBackground": true, |
62 | | - "label": "npm: watch:tsc", |
63 | 85 | "presentation": { |
64 | 86 | "group": "watch", |
65 | 87 | "reveal": "never" |
66 | 88 | } |
67 | 89 | }, |
68 | 90 | { |
| 91 | + "label": "npm: watch:tsc", |
69 | 92 | "type": "npm", |
70 | | - "script": "watch-tests", |
| 93 | + "script": "watch:tsc", |
| 94 | + "group": "build", |
71 | 95 | "problemMatcher": "$tsc-watch", |
72 | 96 | "isBackground": true, |
73 | 97 | "presentation": { |
74 | | - "reveal": "never", |
75 | | - "group": "watchers" |
76 | | - }, |
77 | | - "group": "build" |
78 | | - }, |
79 | | - { |
80 | | - "label": "tasks: watch-tests", |
81 | | - "dependsOn": ["npm: watch", "npm: watch-tests"], |
82 | | - "problemMatcher": [] |
| 98 | + "group": "watch", |
| 99 | + "reveal": "never" |
| 100 | + } |
83 | 101 | } |
84 | 102 | ] |
85 | 103 | } |
0 commit comments