Skip to content

Commit

Permalink
Added watchreactd to tasks.json so that when using build hotkey (cmd/…
Browse files Browse the repository at this point in the history
…ctrl + shift + B) it includes watchreactd automatically
  • Loading branch information
bjoaquinc committed Dec 19, 2024
1 parent 85314f8 commit 8476a99
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,34 @@
}
}
},
{
"type": "npm",
"script": "watchreactd",
"label": "React - Build",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "buildWatchers",
"close": false
},
"problemMatcher": {
"owner": "typescript",
"applyTo": "closedDocuments",
"fileLocation": [
"absolute"
],
"pattern": {
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
"file": 1,
"location": 2,
"message": 3
},
"background": {
"beginsPattern": "Starting compilation",
"endsPattern": "Finished compilation"
}
}
},
{
"type": "npm",
"script": "watch-extensionsd",
Expand Down Expand Up @@ -61,7 +89,8 @@
"label": "VS Code - Build",
"dependsOn": [
"Core - Build",
"Ext - Build"
"Ext - Build",
"React - Build"
],
"group": {
"kind": "build",
Expand Down

0 comments on commit 8476a99

Please sign in to comment.