{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Extension - Watch all", "group": "build", "dependsOn": [ "Extension - Watch", "Extension WebView - Watch" ], "problemMatcher": [], "isBackground": true, "runOptions": { "runOn": "folderOpen" } }, { "type": "npm", "label": "Extension - Watch", "script": "watch", "group": "build", "problemMatcher": [ // A bit difficult to get a proper one. // VSCode's language service stuff usually picks errors up, though // otherwise, they're quite obvious in the terminal, and we don't // have to worry about them slipping into release, as the release // command will fail when there are any compilation errors ], "isBackground": true }, { "type": "shell", "label": "Extension WebView - Watch", "command": "npm start", "options": { "cwd": "./webview" }, "group": "build", "problemMatcher": { "source": "react-dev-utils", "severity": "error", "fileLocation": "absolute", "background": { "activeOnStart": true, "beginsPattern": "^Compiling...$", "endsPattern": "Finished compiling" }, "pattern":[ { "regexp": "^(.+)$", "file": 1 }, { "regexp": "^\\((\\d+),(\\d+)\\): (.+)$", "line": 1, "column": 2, "message": 3, "loop": true } ] }, "isBackground": true } ] }