From 0ec231a10fe4a27f9428ebb356913873dba8b547 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 12 Feb 2021 00:04:27 +0100 Subject: [PATCH] vscode: Make the build:dev script a npm task. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .vscode/launch.json | 18 ++++-------------- .vscode/tasks.json | 4 ++-- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 8a86588a..c2c4c33f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -11,13 +11,8 @@ "cwd": "${workspaceFolder}", "preLaunchTask": "Development build", "runtimeExecutable": "npm", - "runtimeArgs": [ - "run-script", - "test:debug:vscode" - ], - "skipFiles": [ - "/**" - ], + "runtimeArgs": ["run-script", "test:debug:vscode"], + "skipFiles": ["/**"], "stopOnEntry": true }, { @@ -27,13 +22,8 @@ "cwd": "${workspaceFolder}", "preLaunchTask": "Development build", "runtimeExecutable": "npm", - "runtimeArgs": [ - "run-script", - "benchmark:debug:vscode" - ], - "skipFiles": [ - "/**" - ], + "runtimeArgs": ["run-script", "benchmark:debug:vscode"], + "skipFiles": ["/**"], "stopOnEntry": true } ] diff --git a/.vscode/tasks.json b/.vscode/tasks.json index d9bd2624..ed157770 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,8 +3,8 @@ "tasks": [ { "label": "Development build", - "type": "shell", - "command": "npm run build:dev" + "type": "npm", + "script": "build:dev" } ] } -- 2.34.1