Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 893a563

Browse files
committed
vscode: Add task to watch build errors
1 parent 623b273 commit 893a563

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "errors",
7+
"problemMatcher": "$tsc-watch",
8+
"isBackground": true,
9+
"presentation": {
10+
"revealProblems": "never"
11+
},
12+
"runOptions": {
13+
"runOn": "folderOpen"
14+
}
15+
}
16+
]
17+
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"test-jasmine": "TRILIUM_DATA_DIR=./data-test ts-node ./node_modules/.bin/jasmine",
3232
"test-es6": "ts-node -r esm spec-es6/attribute_parser.spec.ts",
3333
"test": "npm run test-jasmine && npm run test-es6",
34-
"postinstall": "rimraf ./node_modules/canvas"
34+
"postinstall": "rimraf ./node_modules/canvas",
35+
"errors": "tsc --watch --noEmit"
3536
},
3637
"dependencies": {
3738
"@braintree/sanitize-url": "6.0.4",

0 commit comments

Comments
 (0)