Skip to content

Instantly share code, notes, and snippets.

@DungGramer
Created July 12, 2022 05:24
Show Gist options
  • Save DungGramer/0a8745f9265adb99a094f6a0285f8d43 to your computer and use it in GitHub Desktop.
Save DungGramer/0a8745f9265adb99a094f6a0285f8d43 to your computer and use it in GitHub Desktop.
{
"version": "2.0.0",
"tasks": [
{
"label": "Run docker-compose",
"type": "shell",
"command": "docker compose up -d",
"windows": {
"command": "docker-compose up -d"
},
"presentation": {
"reveal": "silent",
"revealProblems": "onProblem",
"close": true,
},
"runOptions": {"runOn": "folderOpen"}
},
{
"label": "Run back-end",
"type": "shell",
"command": "npm start",
"windows": {
"command": "npm start"
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"runOptions": {"runOn": "folderOpen"}
},
{
"label": "Run front-end watch",
"type": "shell",
"command": "client-watch",
"windows": {
"command": "npm run client-watch"
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"runOptions": {"runOn": "folderOpen"}
},
{
"label": "Open localhost",
"type": "shell",
"command": "start \"\" http://localhost:3009",
"windows": {
"command": "start \"\" http://localhost:3009"
},
"presentation": {
"reveal": "silent",
"revealProblems": "onProblem",
"close": true,
},
"runOptions": {"runOn": "folderOpen"}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment