diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 2d616db56..eb3ba9590 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -9,23 +9,22 @@ // A task runner that calls the Typescript compiler (tsc) and // 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"], - - // 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": "npm", + "type": "shell", + "command": "npm", + "presentation": { + "reveal": "never" + }, + "args": ["run", "compile"], + "group": { + "kind": "build", + "isDefault": true + }, + "isBackground": true, + "problemMatcher": "$tsc-watch" + } + ] }