„.vscode/tasks.json“ ändern

This commit is contained in:
2024-04-20 11:09:25 +00:00
parent c92909a83b
commit 435b740ea2

16
.vscode/tasks.json vendored
View File

@@ -36,7 +36,6 @@
"label": "Start Frontend", "label": "Start Frontend",
"type": "shell", "type": "shell",
"command": "npm start", "command": "npm start",
"dependsOn": ["Start Backend"],
"options": { "cwd": "${workspaceFolder}/frontend" }, "options": { "cwd": "${workspaceFolder}/frontend" },
"isBackground": true, "isBackground": true,
"problemMatcher": { "problemMatcher": {
@@ -67,15 +66,14 @@
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Start Backend for Frontend", "label": "only Frontend",
"type": "shell", "type": "shell",
"command": "npx ts-node src/index.ts", "command": "npm start",
"options": { "dependsOn": ["Start Backend"],
"cwd": "${workspaceFolder}/backend" "options": { "cwd": "${workspaceFolder}/frontend" },
},
"isBackground": true, "isBackground": true,
"problemMatcher": { "problemMatcher": {
"owner": "typescript", "owner": "javascript",
"pattern": { "pattern": {
"regexp": "^.*$", "regexp": "^.*$",
"file": 1, "file": 1,
@@ -85,10 +83,10 @@
"background": { "background": {
"activeOnStart": true, "activeOnStart": true,
"beginsPattern": "^.*$", "beginsPattern": "^.*$",
"endsPattern": "^Server läuft auf Port.*$" "endsPattern": "Compiled successfully"
}
} }
} }
},
], ],
"inputs": [ "inputs": [
{ {