File tree Expand file tree Collapse file tree 2 files changed +20
-39
lines changed Expand file tree Collapse file tree 2 files changed +20
-39
lines changed Original file line number Diff line number Diff line change 13
13
"kind" : " build" ,
14
14
"isDefault" : true
15
15
},
16
- "dependsOn" : [" watchCore" , " serve " ]
16
+ "dependsOn" : [" watchCore" , " webpackCore " , " serveVueCore " ]
17
17
},
18
18
{
19
- "label" : " serve" ,
20
- "type" : " npm" ,
21
- "script" : " serve" ,
22
- "group" : " build" ,
19
+ "label" : " watchCore" ,
20
+ "command" : " npm run compileOnly -- --watch" ,
21
+ "type" : " shell" ,
23
22
"isBackground" : true ,
24
- "problemMatcher" : {
25
- "owner" : " custom" ,
26
- "pattern" : {
27
- "regexp" : " ." ,
28
- "file" : 1 ,
29
- "location" : 2 ,
30
- "message" : 3
31
- },
32
- "background" : {
33
- "activeOnStart" : true ,
34
- "beginsPattern" : " Project is running at" ,
35
- "endsPattern" : " compiled"
36
- }
37
- },
23
+ "problemMatcher" : " $tsc-watch" ,
38
24
"options" : {
39
- "env" : {
40
- "NODE_OPTIONS" : " --max_old_space_size=5120"
41
- }
25
+ "cwd" : " ../core"
42
26
}
43
27
},
44
28
{
45
- "label" : " watchCore " ,
46
- "command" : " npm run compileLite -- --watch" ,
29
+ "label" : " webpackCore " ,
30
+ "command" : " npm run webpackDev -- --watch" ,
47
31
"type" : " shell" ,
48
32
"isBackground" : true ,
49
- "problemMatcher" : {
50
- "owner" : " custom" ,
51
- "pattern" : {
52
- "regexp" : " ." ,
53
- "file" : 1 ,
54
- "location" : 2 ,
55
- "message" : 3
56
- },
57
- "background" : {
58
- "activeOnStart" : true ,
59
- "beginsPattern" : " Starting compilation" ,
60
- "endsPattern" : " Watching for file changes."
61
- }
62
- },
33
+ "problemMatcher" : " $ts-webpack-watch" ,
34
+ "options" : {
35
+ "cwd" : " ../core"
36
+ }
37
+ },
38
+ {
39
+ "label" : " serveVueCore" ,
40
+ "command" : " npm run serveVue" ,
41
+ "type" : " shell" ,
42
+ "detail" : " Webpack + local server for Vue webview files from `core`." ,
43
+ "isBackground" : true ,
44
+ "problemMatcher" : " $ts-webpack-watch" ,
63
45
"options" : {
64
46
"cwd" : " ../core"
65
47
}
Original file line number Diff line number Diff line change 70
70
"createRelease" : " ts-node ../../scripts/createRelease.ts" ,
71
71
"newChange" : " ts-node ../../scripts/newChange.ts" ,
72
72
"watch" : " npm run clean && npm run buildScripts && tsc -watch -p ./" ,
73
- "serve" : " webpack serve --config-name mainServe --mode development" ,
74
73
"copyPackageJson" : " ts-node ./scripts/build/handlePackageJson" ,
75
74
"restorePackageJson" : " ts-node ./scripts/build/handlePackageJson --restore"
76
75
},
You can’t perform that action at this time.
0 commit comments