Add tasks.json
Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
parent
35fda65112
commit
e969d94599
1 changed files with 38 additions and 0 deletions
38
tasks.json
Normal file
38
tasks.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "start",
|
||||||
|
"isBackground": true,
|
||||||
|
"presentation": {
|
||||||
|
"focus": true,
|
||||||
|
"panel": "dedicated"
|
||||||
|
},
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": {
|
||||||
|
"owner": "typescript",
|
||||||
|
"source": "ts",
|
||||||
|
"applyTo": "closedDocuments",
|
||||||
|
"fileLocation": [
|
||||||
|
"relative",
|
||||||
|
"${cwd}"
|
||||||
|
],
|
||||||
|
"pattern": "$tsc",
|
||||||
|
"background": {
|
||||||
|
"activeOnStart": true,
|
||||||
|
"beginsPattern": {
|
||||||
|
"regexp": "(.*?)"
|
||||||
|
},
|
||||||
|
"endsPattern": {
|
||||||
|
"regexp": "Compiled |Failed to compile."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue