Skip to content

Commit

Permalink
Add build as pre-launch task
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-oq committed Dec 22, 2022
1 parent 02b046d commit f20d250
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Run Extension with DEBUG_BREAK",
"Attach to Language Server"
],
"preLaunchTask": "npm: build",
"preLaunchTask": "Build VS Code Extension",
"stopAll": true,
"presentation": {
"order": 1
Expand Down Expand Up @@ -59,6 +59,8 @@
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"sourceMaps": true,
"restart": true,
"timeout": 60000,
"continueOnAttach": true,
"outFiles": [
"${workspaceFolder}/dist/apps/vs-code-extension/language-server.cjs",
Expand Down
12 changes: 12 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build VS Code Extension",
"type": "shell",
"command": "npx nx build vs-code-extension"
}
]
}

0 comments on commit f20d250

Please sign in to comment.