Files
2026-04-30 11:06:52 +02:00

43 lines
1.2 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Frontend: Dev",
"type": "shell",
"command": "source $HOME/.nvm/nvm.sh && nvm use && npm run start",
"options": {
"cwd": "${workspaceFolder}/frontend"
},
"presentation": {
"group": "ipwa-app",
"panel": "dedicated"
}
},
{
"label": "Backend: Dev",
"type": "shell",
"command": "trap 'docker compose stop mongodb' SIGINT EXIT; docker compose up -d mongodb && source $HOME/.nvm/nvm.sh && nvm use && ATLAS_URI=mongodb://localhost:27017/ipwa SECRET=CHANGE_ME npx tsx watch --inspect .",
"options": {
"cwd": "${workspaceFolder}/backend"
},
"presentation": {
"group": "ipwa-app",
"panel": "dedicated"
}
},
{
"label": "Start All Services",
"dependsOrder": "parallel",
"dependsOn": [
"Frontend: Dev",
"Backend: Dev"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}