Skip to content

Instantly share code, notes, and snippets.

@noam-honig
Created October 7, 2021 14:19
Show Gist options
  • Save noam-honig/a303635aded118169c4604fc7c5e988b to your computer and use it in GitHub Desktop.
Save noam-honig/a303635aded118169c4604fc7c5e988b to your computer and use it in GitHub Desktop.
Tasks json to use when developer remult with react
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "dev-react",
"problemMatcher": [
"$tsc-watch"
],
"label": "npm: dev-react",
"detail": "React Dev Server",
"isBackground": true,
"presentation": {
"group": "dev"
}
},
{
"type": "npm",
"script": "dev-node",
"problemMatcher": [
"$tsc-watch"
],
"label": "npm: dev-node",
"detail": "Node Dev Server",
"isBackground": true,
"presentation": {
"group": "dev"
}
},
{
"label": "dev",
"dependsOn": [
"npm: dev-react",
"npm: dev-node"
],
"detail":"runs both dev-react and dev-node",
"problemMatcher": [
],
"isBackground": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment