Skip to content

Commit 1fc0514

Browse files
committed
Add preLaunchTask
1 parent fbe2f15 commit 1fc0514

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

.vscode/launch.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
// A launch configuration that compiles the extension and then opens it inside a new window
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
51
{
6-
"version": "0.2.0",
2+
"version": "0.2.0",
73
"configurations": [
84
{
95
"name": "Extension",
@@ -15,7 +11,8 @@
1511
],
1612
"outFiles": [
1713
"${workspaceFolder}/out/**/*.js"
18-
]
14+
],
15+
"preLaunchTask": "npm: watch"
1916
}
2017
]
2118
}

.vscode/tasks.json

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

0 commit comments

Comments
 (0)