This commit is contained in:
Nguyen Long Nhat 2018-10-20 04:35:21 +07:00 коммит произвёл Eric Jizba
Родитель 3a334eb0b3
Коммит 28fa20e661
2 изменённых файлов: 26 добавлений и 21 удалений

4
.vscode/launch.json поставляемый
Просмотреть файл

@ -15,7 +15,7 @@
"outFiles": [
"${workspaceRoot}/out/src/**/*.js"
],
"preLaunchTask": "npm"
"preLaunchTask": "Compile"
},
{
"name": "Launch Tests",
@ -31,7 +31,7 @@
"outFiles": [
"${workspaceRoot}/out/test"
],
"preLaunchTask": "npm"
"preLaunchTask": "Compile"
},
{
"type": "node",

43
.vscode/tasks.json поставляемый
Просмотреть файл

@ -7,22 +7,27 @@
// ${cwd}: the current working directory of the spawned process
// A task runner that calls a custom npm script that compiles the extension.
{
"version": "0.1.0",
// we want to run npm
"command": "npm",
// the command is a shell script
"isShellCommand": true,
// show the output window only if unrecognized errors occur.
"showOutput": "silent",
// we run the custom script "compile" as defined in package.json
"args": [
"run",
"compile",
"--loglevel",
"silent"
],
// The tsc compiler is started in watching mode
"isBackground": true,
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
"problemMatcher": "$tsc-watch"
}
"version": "2.0.0",
"tasks": [
{
"label": "Compile",
"type": "shell",
"command": "npm",
"presentation": {
"reveal": "never"
},
"args": [
"run",
"compile",
"--loglevel",
"silent"
],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": true,
"problemMatcher": "$tsc-watch"
}
]
}