{ "version": "2.0.0", "tasks": [ { "label": "backend: dev (uvicorn reload)", "type": "shell", "command": "poetry run uvicorn brewman.main:app --reload", "options": { "cwd": "${workspaceFolder}/brewman" }, "problemMatcher": { "owner": "python", "pattern": [ { "regexp": "^(.*):(\\d+):(\\d+):\\s+(error|warning):\\s+(.*)$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } ], "background": { "activeOnStart": true, "beginsPattern": ".*Uvicorn running on.*", "endsPattern": ".*Application startup complete.*" } } }, { "label": "backend: debug (no reload)", "type": "shell", "command": "poetry run uvicorn brewman.main:app", "options": { "cwd": "${workspaceFolder}/brewman" }, "problemMatcher": { "owner": "python", "pattern": [ { "regexp": "^(.*):(\\d+):(\\d+):\\s+(error|warning):\\s+(.*)$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } ], "background": { "activeOnStart": true, "beginsPattern": ".*Uvicorn running on.*", "endsPattern": ".*Application startup complete.*" } } }, { "label": "frontend: dev (npm start)", "type": "npm", "script": "start", "isBackground": true, "options": { "cwd": "${workspaceFolder}/overlord" }, "problemMatcher": { "owner": "typescript", "pattern": "$tsc", "background": { "activeOnStart": true, "beginsPattern": { "regexp": "Changes detected" }, "endsPattern": { "regexp": "bundle generation (complete|failed)" } } } }, { "label": "dev: run both", "dependsOn": [ "backend: dev (uvicorn reload)", "frontend: dev (npm start)" ], "dependsOrder": "parallel" } ] }