From 4af75cdca64e4d9ddd141bf6dc6a60051e3a085f Mon Sep 17 00:00:00 2001 From: Christian Schindler Date: Sun, 12 May 2024 11:51:16 +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 | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1bf14de..c2660a6 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,6 +1,43 @@ { + //sudo apt-get install lsof "version": "2.0.0", "tasks": [ + { + "label": "Kill3000", + "type": "shell", + "windows": { + "command": "netstat -ano | findstr :3000 | for /F \"tokens=5\" %a in ('more') do taskkill /PID %a /F" + }, + "linux": { + "command": "lsof -ti:3000 | xargs kill" + }, + "osx": { + "command": "lsof -ti:3000 | xargs kill" + }, + "presentation": { + "reveal": "always", + "panel": "new" + }, + "problemMatcher": [] + }, + { + "label": "Kill8800", + "type": "shell", + "windows": { + "command": "netstat -ano | findstr :8800 | for /F \"tokens=5\" %a in ('more') do taskkill /PID %a /F" + }, + "linux": { + "command": "lsof -ti:8800 | xargs kill" + }, + "osx": { + "command": "lsof -ti:8800 | xargs kill" + }, + "presentation": { + "reveal": "always", + "panel": "new" + }, + "problemMatcher": [] +}, { "label": "Install Backend Dependencies", "type": "shell", @@ -49,7 +86,7 @@ "background": { "activeOnStart": true, "beginsPattern": "^.*$", - "endsPattern": "Compiled successfully" + "endsPattern": "No issues found" } } },