„.vscode/tasks.json“ ändern
This commit is contained in:
39
.vscode/tasks.json
vendored
39
.vscode/tasks.json
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user