File tree Expand file tree Collapse file tree 2 files changed +92
-16
lines changed Expand file tree Collapse file tree 2 files changed +92
-16
lines changed Original file line number Diff line number Diff line change 77 "type" : " extensionHost" ,
88 "request" : " launch" ,
99 "runtimeExecutable" : " ${execPath}" ,
10- "args" : [" --extensionDevelopmentPath=${workspaceRoot}" ],
10+ "args" : [
11+ " --extensionDevelopmentPath=${workspaceRoot}"
12+ ],
1113 "stopOnEntry" : false ,
1214 "sourceMaps" : true ,
13- "outFiles" : [" ${workspaceRoot}/out/**/*.js" ]
15+ "outFiles" : [
16+ " ${workspaceRoot}/out/**/*.js"
17+ ]
1418 },
1519 {
1620 "name" : " Watch & Launch GitLens" ,
1721 "type" : " extensionHost" ,
1822 "request" : " launch" ,
1923 "runtimeExecutable" : " ${execPath}" ,
20- "args" : [" --extensionDevelopmentPath=${workspaceRoot}" ],
24+ "args" : [
25+ " --extensionDevelopmentPath=${workspaceRoot}"
26+ ],
2127 "stopOnEntry" : false ,
2228 "sourceMaps" : true ,
23- "outFiles" : [" ${workspaceRoot}/out/**/*.js" ],
29+ "outFiles" : [
30+ " ${workspaceRoot}/out/**/*.js"
31+ ],
2432 "preLaunchTask" : " watch"
2533 }
2634 ]
27- }
35+ }
Original file line number Diff line number Diff line change 55// ${fileDirname}: the current opened file's dirname
66// ${fileExtname}: the current opened file's extension
77// ${cwd}: the current working directory of the spawned process
8-
98// A task runner that calls a custom npm script that compiles the extension.
109{
1110 "version" : " 2.0.0" ,
1211 "presentation" : {
13- "echo" : true ,
12+ "echo" : false ,
1413 "reveal" : " always" ,
1514 "focus" : false ,
16- "panel" : " shared"
15+ "panel" : " dedicated" ,
16+ "showReuseMessage" : true
1717 },
1818 "tasks" : [
1919 {
20- "label" : " build" ,
2120 "type" : " npm" ,
2221 "script" : " build" ,
22+ "group" : " build" ,
2323 "problemMatcher" : [
2424 " $tsc" ,
2525 " $tslint5"
2626 ],
27- "group" : " build"
2827 },
2928 {
30- "label" : " lint" ,
3129 "type" : " npm" ,
3230 "script" : " lint" ,
31+ "group" : " build" ,
3332 "problemMatcher" : [
3433 " $tslint5"
35- ],
36- "group" : " build"
34+ ]
3735 },
3836 {
39- "label" : " rebuild" ,
4037 "type" : " npm" ,
4138 "script" : " rebuild" ,
4239 "problemMatcher" : [
4643 "group" : " build"
4744 },
4845 {
49- "label" : " watch" ,
5046 "type" : " npm" ,
5147 "script" : " watch" ,
48+ "group" : " build" ,
5249 "isBackground" : true ,
5350 "problemMatcher" : [
5451 " $tsc-watch"
52+ ]
53+ },
54+ {
55+ "type" : " npm" ,
56+ "script" : " watch-ui" ,
57+ "group" : " build" ,
58+ "isBackground" : true ,
59+ "problemMatcher" : [
60+ {
61+ "owner" : " typescript" ,
62+ "severity" : " error" ,
63+ "fileLocation" : " relative" ,
64+ "background" : {
65+ "activeOnStart" : true ,
66+ "beginsPattern" : {
67+ "regexp" : " webpack is watching the files..."
68+ },
69+ "endsPattern" : {
70+ "regexp" : " Built at\\ :(.*)"
71+ }
72+ },
73+ "pattern" : [
74+ {
75+ "regexp" : " ERROR in \\ [at-loader\\ ] ([^:]*):(\\ d+):(\\ d+)" ,
76+ "file" : 1 ,
77+ "line" : 2 ,
78+ "column" : 3
79+ },
80+ {
81+ "regexp" : " TS(.*)" ,
82+ "message" : 1
83+ }
84+ ]
85+ }
86+ ]
87+ },
88+ {
89+ "label" : " watch" ,
90+ "dependsOn" : [
91+ " npm: watch-ui" ,
92+ " npm: watch"
5593 ],
5694 "group" : {
5795 "kind" : " build" ,
5896 "isDefault" : true
59- }
97+ },
98+ "isBackground" : true ,
99+ "problemMatcher" : [
100+ " $tsc-watch" ,
101+ {
102+ "owner" : " typescript" ,
103+ "severity" : " error" ,
104+ "fileLocation" : " relative" ,
105+ "background" : {
106+ "activeOnStart" : true ,
107+ "beginsPattern" : {
108+ "regexp" : " webpack is watching the files..."
109+ },
110+ "endsPattern" : {
111+ "regexp" : " Built at\\ :(.*)"
112+ }
113+ },
114+ "pattern" : [
115+ {
116+ "regexp" : " ERROR in \\ [at-loader\\ ] ([^:]*):(\\ d+):(\\ d+)" ,
117+ "file" : 1 ,
118+ "line" : 2 ,
119+ "column" : 3
120+ },
121+ {
122+ "regexp" : " TS(.*)" ,
123+ "message" : 1
124+ }
125+ ]
126+ }
127+ ]
60128 }
61129 ]
62130}
You can’t perform that action at this time.
0 commit comments