Skip to content

Commit 26dc157

Browse files
KJ7LNWEric Wheeler
andauthored
build: prevent $esbuild-watch error (#1711)
Co-authored-by: Eric Wheeler <[email protected]>
1 parent 7cea2e8 commit 26dc157

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.vscode/tasks.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,17 @@
4141
"type": "npm",
4242
"script": "watch:esbuild",
4343
"group": "build",
44-
"problemMatcher": "$esbuild-watch",
44+
"problemMatcher": {
45+
"owner": "esbuild",
46+
"pattern": {
47+
"regexp": "^$"
48+
},
49+
"background": {
50+
"activeOnStart": true,
51+
"beginsPattern": "\\[watch\\] build started",
52+
"endsPattern": "\\[watch\\] build finished"
53+
}
54+
},
4555
"isBackground": true,
4656
"presentation": {
4757
"group": "watch",

0 commit comments

Comments
 (0)