Skip to content

Commit edadf6e

Browse files
authored
vscode.tasks
1 parent b91326e commit edadf6e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

tasks.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "watch",
6+
"command": "tsc",
7+
"args": ["--watch"],
8+
"isBackground": true,
9+
"problemMatcher": {
10+
"owner": "typescript",
11+
"fileLocation": "relative",
12+
"pattern": {
13+
"regexp": "^([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
14+
"file": 1,
15+
"location": 2,
16+
"severity": 3,
17+
"code": 4,
18+
"message": 5
19+
},
20+
"background": {
21+
"activeOnStart": true,
22+
"beginsPattern": "^\\s*\\d{1,2}:\\d{1,2}:\\d{1,2}(?: AM| PM)? - File change detected\\. Starting incremental compilation\\.\\.\\.",
23+
"endsPattern": "^\\s*\\d{1,2}:\\d{1,2}:\\d{1,2}(?: AM| PM)? - Compilation complete\\. Watching for file changes\\."
24+
}
25+
}
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)