From: Jérôme Benoit Date: Thu, 11 Feb 2021 23:04:27 +0000 (+0100) Subject: vscode: Make the build:dev script a npm task. X-Git-Tag: v2.0.0-beta.2~49^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0ec231a10fe4a27f9428ebb356913873dba8b547;p=poolifier.git vscode: Make the build:dev script a npm task. Signed-off-by: Jérôme Benoit --- 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" } ] }