- 配置任务
在菜单选择【终端】-【配置任务】

选择【使用模板创建 tasks.json 文件】

选择【Other】

tasks.json文件生成完毕

- 配置默认生成任务


生成tasks.json文件:
{
"version": "2.0.0",
"tasks": [
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"option": "watch",
"problemMatcher": [
"$tsc-watch"
],
"group": {
"kind": "build",
"isDefault": true
},
"label": "tsc: 监视 - tsconfig.json"
}
]
}
版权声明:本文为watson2017原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。