Skip to content

Commit

Permalink
dx: add watch task to expose all compile errors to vscode, including …
Browse files Browse the repository at this point in the history
…not open files.
  • Loading branch information
patroza committed Oct 3, 2024
1 parent b00f7a0 commit e4c6785
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Watch",
"type": "shell",
"command": "pnpm check -w",
"options": {
"cwd": "${workspaceRoot}"
},
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": true,
"presentation": {
"group": "watch-build"
},
"problemMatcher": [
{
"base": "$tsc-watch",
"fileLocation": [
"relative",
"${workspaceRoot}",
],
}
]
}
]
}

0 comments on commit e4c6785

Please sign in to comment.