Skip to content

Commit 8b7fcad

Browse files
committed
build: update launch tasks
1 parent 15a2d38 commit 8b7fcad

File tree

2 files changed

+8
-19
lines changed

2 files changed

+8
-19
lines changed

.vscode/launch.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
1111
"outFiles": ["${workspaceRoot}/dist/client/out/**/*.js"],
1212
"autoAttachChildProcesses": true,
13-
"preLaunchTask": {
14-
"type": "npm",
15-
"script": "watch"
16-
}
13+
"preLaunchTask": "watch"
1714
},
1815
{
1916
"name": "Language Server E2E Test",

.vscode/tasks.json

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,15 @@
33
"tasks": [
44
{
55
"type": "shell",
6-
"command": "npx nx affected --target=build",
7-
"label": "build",
6+
"command": "npx nx build syntaxes",
7+
"label": "build_syntaxes",
88
"problemMatcher": ["$tsc"]
99
},
1010
{
11-
"type": "npm",
12-
"script": "compile",
13-
"group": "build",
14-
"presentation": {
15-
"panel": "dedicated",
16-
"reveal": "never"
17-
},
18-
"problemMatcher": ["$tsc"]
19-
},
20-
{
21-
"type": "npm",
22-
"script": "watch",
11+
"type": "shell",
12+
"label": "watch",
2313
"isBackground": true,
14+
"command": "npx nx affected --target=build --exclude=syntaxes -- --watch",
2415
"group": {
2516
"kind": "build",
2617
"isDefault": true
@@ -29,7 +20,8 @@
2920
"panel": "dedicated",
3021
"reveal": "never"
3122
},
32-
"problemMatcher": ["$tsc-watch"]
23+
"problemMatcher": ["$tsc-watch"],
24+
"dependsOn": "build_syntaxes"
3325
}
3426
]
3527
}

0 commit comments

Comments
 (0)