fix: update problemMatcher

Ref: electron-vite/electron-vite-boilerplate#27
This commit is contained in:
yi_Xu 2022-07-24 10:06:34 +08:00 committed by GitHub
parent 8b740153f2
commit 792b87a3a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.vscode/tasks.json vendored
View File

@ -8,7 +8,23 @@
"type": "shell",
"command": "node .vscode/.debug.script.mjs",
"isBackground": true,
"problemMatcher": []
"problemMatcher": {
"owner": "typescript",
"fileLocation": "relative",
"pattern": {
"regexp": "^([a-zA-Z]\\:\/?([\\w\\-]\/?)+\\.\\w+):(\\d+):(\\d+): (ERROR|WARNING)\\: (.*)$",
"file": 1,
"line": 3,
"column": 4,
"code": 5,
"message": 6
},
"background": {
"activeOnStart": true,
"beginsPattern": "^.*building for development.*$",
"endsPattern": "built in [0-9]*ms.*$",
}
}
}
]
}