Skip to content

Commit d674465

Browse files
Update launch configuration
1 parent 38f1c70 commit d674465

3 files changed

Lines changed: 6 additions & 14 deletions

File tree

.vscode/launch.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
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
{
62
"version": "0.2.0",
73
"configurations": [
@@ -12,7 +8,7 @@
128
"runtimeExecutable": "${execPath}",
139
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
1410
"outFiles": ["${workspaceFolder}/out/**/*.js"],
15-
"preLaunchTask": "npm: compile"
11+
"preLaunchTask": "${defaultBuildTask}"
1612
}
1713
]
1814
}

.vscode/tasks.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
// See https://go.microsoft.com/fwlink/?LinkId=733558
2-
// for the documentation about the tasks.json format
31
{
42
"version": "2.0.0",
53
"tasks": [
64
{
5+
"label": "Build",
76
"type": "npm",
8-
"script": "watch",
9-
"problemMatcher": "$tsc-watch",
10-
"isBackground": true,
11-
"presentation": {
12-
"reveal": "never"
13-
},
7+
"script": "build",
148
"group": {
159
"kind": "build",
1610
"isDefault": true
11+
},
12+
"presentation": {
13+
"reveal": "silent"
1714
}
1815
}
1916
]

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
"contributes": {},
8282
"scripts": {
8383
"clean": "rm -rf ./out && rm -rf parsers",
84-
"watch": "tsc -watch -p .",
8584
"vscode:prepublish": "npm run build",
8685
"build": "tsc -p ./ && npm run copy-assets",
8786
"copy-assets": "sh copy-assets.sh",

0 commit comments

Comments
 (0)