Skip to content

Commit 5ca0d39

Browse files
author
Tyler Smalley
authored
tasks: Use tool/yarn (#208)
VS Code tasks should use tool/yarn, and not the system-wide yarn. Signed-off-by: Tyler Smalley <[email protected]>
1 parent f005dd7 commit 5ca0d39

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.vscode/tasks.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"type": "npm",
8-
"script": "watch",
7+
"type": "shell",
8+
"label": "watch",
9+
"command": "./tool/yarn run watch",
910
"problemMatcher": "$ts-webpack-watch",
1011
"isBackground": true,
1112
"presentation": {
@@ -18,8 +19,9 @@
1819
}
1920
},
2021
{
21-
"type": "npm",
22-
"script": "watch-tests",
22+
"type": "shell",
23+
"label": "watch-tests",
24+
"command": "./tool/yarn run watch-tests",
2325
"problemMatcher": "$tsc-watch",
2426
"isBackground": true,
2527
"presentation": {

0 commit comments

Comments
 (0)