1{ 2 // See https://go.microsoft.com/fwlink/?LinkId=733558 3 // for the documentation about the tasks.json format 4 "version": "2.0.0", 5 "tasks": [ 6 { 7 // Kept for backwards compat for old launch.json files so it's 8 // less annoying if moving up to the new build or going back to 9 // the old build. 10 // 11 // This is first because the acutal "npm: build:tests" task 12 // below has the same script value, and VS Code ignores labels 13 // and deduplicates them. 14 // https://github.com/microsoft/vscode/issues/93001 15 "label": "gulp: tests", 16 "type": "npm", 17 "script": "build:tests", 18 "group": "build", 19 "hide": true, 20 "problemMatcher": [ 21 "$tsc" 22 ] 23 }, 24 { 25 "label": "tsc: watch ./src", 26 "type": "shell", 27 "command": "node", 28 "args": ["${workspaceFolder}/lib/tsc.js", "--build", "${workspaceFolder}/src", "--watch"], 29 "group": "build", 30 "isBackground": true, 31 "problemMatcher": [ 32 "$tsc-watch" 33 ] 34 }, 35 { 36 "label": "npm: build:compiler", 37 "type": "npm", 38 "script": "build:compiler", 39 "group": "build", 40 "problemMatcher": [ 41 "$tsc" 42 ] 43 }, 44 { 45 "label": "npm: build:tests", 46 "type": "npm", 47 "script": "build:tests", 48 "group": "build", 49 "problemMatcher": [ 50 "$tsc" 51 ] 52 }, 53 ] 54} 55