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" } } },