// See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format // A task runner that calls a custom npm script that compiles the extension. { "version": "2.0.0", // we want to run npm "command": "npm", // 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", "tasks": [ { "label": "npm", "type": "shell", "command": "npm", "args": [ "run", "compile", "--loglevel", "silent" ], "isBackground": true, "problemMatcher": "$tsc-watch", "group": { "_id": "build", "isDefault": false } } ] }