Skip to content

Instantly share code, notes, and snippets.

@LuisRBarreras
Forked from grabbou/tasks.json
Created September 7, 2022 23:20
Show Gist options
  • Save LuisRBarreras/01131f2490e38bd02232cfad20a868f5 to your computer and use it in GitHub Desktop.
Save LuisRBarreras/01131f2490e38bd02232cfad20a868f5 to your computer and use it in GitHub Desktop.
A simple example of launching two long-running processes within Visual Studio Code to make working in monorepo easier
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Expo dev server",
"type": "shell",
"command": "cd ./apps/mobile && yarn start",
"presentation": {
"reveal": "always",
"panel": "new",
"group": "develop",
},
"runOptions": { "runOn": "folderOpen" },
},
{
"label": "Start Vercel dev server",
"type": "shell",
"command": "cd ./apps/backend && yarn vercel dev",
"presentation": {
"reveal": "always",
"panel": "new",
"group": "develop",
},
"runOptions": { "runOn": "folderOpen" }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment