From 768104d49cd854939175902b15386d052dcd3af9 Mon Sep 17 00:00:00 2001 From: Alex Carney Date: Fri, 3 May 2024 23:36:37 +0100 Subject: [PATCH] vscode: Update launch and task definitions --- .vscode/launch.json | 5 +---- .vscode/tasks.json | 19 ++++++++----------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 42e8d7c8f..3bd2b184d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -36,10 +36,7 @@ "outFiles": [ "${workspaceRoot}/code/dist/node/**/*.js" ], - // "preLaunchTask": "${defaultBuildTask}", - "env": { - // "VSCODE_LSP_DEBUG": "true" - } + "preLaunchTask": "${defaultBuildTask}", }, { "name": "VSCode Web Extension", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 25fc86497..d0181bd9d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -2,9 +2,13 @@ "version": "2.0.0", "tasks": [ { - "type": "npm", - "script": "watch", + "label": "npm: watch", + "type": "process", "isBackground": true, + "command": "make", + "args": [ + "watch" + ], "options": { "cwd": "${workspaceRoot}/code" }, @@ -14,17 +18,10 @@ }, "presentation": { "panel": "dedicated", - "reveal": "never" + "reveal": "always" }, "problemMatcher": [ - { - "base": "$tsc-watch", - "background": { - "activeOnStart": true, - "beginsPattern": "asset .*", - "endsPattern": "webpack .* compiled .*" - } - } + "$tsc-watch" ] }, {