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