Skip to content

Instantly share code, notes, and snippets.

@grabbou
Last active June 30, 2023 13:29
Show Gist options
  • Save grabbou/1e19049ebc6127b269f4230bfaed5170 to your computer and use it in GitHub Desktop.
Save grabbou/1e19049ebc6127b269f4230bfaed5170 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