„.vscode/tasks.json“ ändern

This commit is contained in:
2024-05-12 11:51:16 +00:00
parent c662c38d8f
commit 4af75cdca6

39
.vscode/tasks.json vendored
View File

@@ -1,6 +1,43 @@
{ {
//sudo apt-get install lsof
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "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", "label": "Install Backend Dependencies",
"type": "shell", "type": "shell",
@@ -49,7 +86,7 @@
"background": { "background": {
"activeOnStart": true, "activeOnStart": true,
"beginsPattern": "^.*$", "beginsPattern": "^.*$",
"endsPattern": "Compiled successfully" "endsPattern": "No issues found"
} }
} }
}, },