--- a/src/Tools/VSCode/extension/.vscode/tasks.json Fri Feb 18 13:26:11 2022 +0100
+++ b/src/Tools/VSCode/extension/.vscode/tasks.json Fri Feb 18 13:26:36 2022 +0100
@@ -8,17 +8,11 @@
// A task runner that calls a custom npm script that compiles the extension.
{
- "version": "0.1.0",
+ "version": "2.0.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"],
@@ -26,5 +20,24 @@
"isWatching": true,
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
- "problemMatcher": "$tsc-watch"
+ "problemMatcher": "$tsc-watch",
+ "tasks": [
+ {
+ "label": "npm",
+ "type": "shell",
+ "command": "npm",
+ "args": [
+ "run",
+ "compile",
+ "--loglevel",
+ "silent"
+ ],
+ "isBackground": true,
+ "problemMatcher": "$tsc-watch",
+ "group": {
+ "_id": "build",
+ "isDefault": false
+ }
+ }
+ ]
}
\ No newline at end of file