.vscode/tasks.json
{
"version": "2.0.0",
"tasks": [
{
"label": "start",
"group": {
"kind": "build",
"isDefault": true
},
"type": "npm",
"script": "start",
"isBackground": true,
"problemMatcher": [
"$tsc-watch",
{
"owner": "typescript",
"pattern": {
"regexp": "^([^\\s].*)\\((\\d+|\\,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
"file": 1,
"location": 2,
"severity": 3,
"code": 4,
"message": 5
},
"background": {
"activeOnStart": true,
"beginsPattern": "^\\s*\\d{1,2}:\\d{1,2}:\\d{1,2}(?: AM| PM)? - File change detected\\. Starting incremental compilation\\.\\.\\.",
"endsPattern": "^.*Compiled successfully."
}
}
]
}
]
}