From 435b740ea2ab502966df7ed5cb120d4c45d61c01 Mon Sep 17 00:00:00 2001 From: Christian Schindler Date: Sat, 20 Apr 2024 11:09:25 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.vscode/tasks.json=E2=80=9C=20=C3=A4nd?= =?UTF-8?q?ern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/tasks.json | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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": [ {