mirror of
https://github.com/vale981/apollo-server
synced 2025-03-05 09:41:40 -05:00
Add TypeScript watch as default build task
This commit is contained in:
parent
823d68d318
commit
7720ae835e
1 changed files with 27 additions and 0 deletions
27
.vscode/tasks.json
vendored
Normal file
27
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "TypeScript watch",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "./node_modules/.bin/tsc",
|
||||||
|
"args": [
|
||||||
|
"--build",
|
||||||
|
"tsconfig.build.json",
|
||||||
|
"--watch"
|
||||||
|
],
|
||||||
|
"isBackground": true,
|
||||||
|
"problemMatcher": [
|
||||||
|
"$tsc-watch"
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "never",
|
||||||
|
"panel": "dedicated"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue