Skip to content

Instantly share code, notes, and snippets.

@Kraloz
Created October 6, 2021 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kraloz/a22966a66b7c77cbba759b0b307e0be4 to your computer and use it in GitHub Desktop.
Save Kraloz/a22966a66b7c77cbba759b0b307e0be4 to your computer and use it in GitHub Desktop.
tasks.json
{
"version": "2.0.0",
"tasks": [
{
"label": "build-backend",
"type": "npm",
"script": "build",
"path": "app/backend/",
"group": "build",
"problemMatcher": [],
"detail": "yarn run tsc"
},
{
"label": "build-and-restartdb",
"type": "npm",
"script": "build-and-restartdb",
"path": "app/backend/",
"group": "build",
"problemMatcher": [],
"detail": "BUILD AND RESTART DB"
},
{
"label": "build-domain",
"type": "npm",
"script": "build",
"path": "app/domain/",
"group": "build",
"problemMatcher": [],
"detail": "Build Skf project domain"
},
{
"label": "open-phone",
"type": "shell",
"group": "none",
"command": "scrcpy --bit-rate 2M --max-size 800 -w",
"problemMatcher": [],
"detail": "Opens scrcpy connection",
"options": {
"shell": {
"args": ["-c", "-l"]
}
}
},
{
"label": "free-ports",
"type": "shell",
"group": "build",
"command": "fuser -k 8080/tcp; fuser -k 3000/tcp",
"problemMatcher": [],
"detail": "fuser -k 8080/tcp; fuser -k 3000/tcp"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment