Skip to content

Commit 2d3c7d0

Browse files
committed
Update VS Code task to run on folder open
1 parent c75855d commit 2d3c7d0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.vscode/tasks.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5+
"label": "npm: lint",
56
"type": "npm",
67
"script": "lint",
7-
"problemMatcher": "$eslint-stylish",
8-
"label": "npm: lint",
9-
"detail": "eslint src/index.ts"
8+
"detail": "eslint src/index.ts",
9+
"problemMatcher": "$eslint-stylish"
1010
},
1111
{
12+
"label": "tsc: watch - tsconfig.build.json",
1213
"type": "typescript",
1314
"tsconfig": "tsconfig.build.json",
1415
"option": "watch",
@@ -19,7 +20,9 @@
1920
"kind": "build",
2021
"isDefault": true
2122
},
22-
"label": "tsc: watch - tsconfig.build.json"
23+
"runOptions": {
24+
"runOn": "folderOpen"
25+
}
2326
}
2427
]
2528
}

0 commit comments

Comments
 (0)