File tree Expand file tree Collapse file tree 2 files changed +7
-45
lines changed Expand file tree Collapse file tree 2 files changed +7
-45
lines changed Original file line number Diff line number Diff line change 1515 "outFiles" : [
1616 " ${workspaceFolder}/dist/**/*.js"
1717 ],
18- "preLaunchTask" : " watch" ,
19- "postDebugTask" : " stop watch tasks"
18+ "preLaunchTask" : " ${defaultBuildTask}"
2019 }
2120 ]
2221}
Original file line number Diff line number Diff line change 66 {
77 "label" : " watch" ,
88 "dependsOn" : [
9- " npm: watch:esbuild " ,
10- " npm: watch:webview "
9+ " npm: watch:tsc " ,
10+ " npm: watch:esbuild "
1111 ],
1212 "presentation" : {
1313 "reveal" : " never"
3131 },
3232 {
3333 "type" : " npm" ,
34- "script" : " watch:esbuild " ,
34+ "script" : " watch:tsc " ,
3535 "group" : " build" ,
36- "problemMatcher" : " $esbuild -watch" ,
36+ "problemMatcher" : " $tsc -watch" ,
3737 "isBackground" : true ,
38- "label" : " npm: watch:esbuild" ,
39- "presentation" : {
40- "group" : " watch" ,
41- "reveal" : " never"
42- }
43- },
44- {
45- "type" : " npm" ,
46- "script" : " watch:webview" ,
47- "group" : " build" ,
48- "problemMatcher" : {
49- "pattern" : {
50- "regexp" : " ." ,
51- "file" : 1 ,
52- "location" : 2 ,
53- "message" : 3
54- },
55- "background" : {
56- "activeOnStart" : true ,
57- "beginsPattern" : " ^\\ s*VITE v" ,
58- "endsPattern" : " \\ s*➜\\ s*Local:\\ s*http://localhost:\\ d+"
59- }
60- },
61- "isBackground" : true ,
62- "label" : " npm: watch:webview" ,
38+ "label" : " npm: watch:tsc" ,
6339 "presentation" : {
6440 "group" : " watch" ,
6541 "reveal" : " never"
8359 " npm: watch-tests"
8460 ],
8561 "problemMatcher" : []
86- },
87- {
88- "label" : " stop watch tasks" ,
89- "type" : " shell" ,
90- "command" : " bash" ,
91- "args" : [
92- " -lc" ,
93- " pkill -f \" node esbuild.js --watch\" >/dev/null 2>&1 || true; pkill -f \" vite\" >/dev/null 2>&1 || true"
94- ],
95- "problemMatcher" : [],
96- "presentation" : {
97- "reveal" : " never"
98- }
9962 }
10063 ]
101- }
64+ }
You can’t perform that action at this time.
0 commit comments