From 61084c46506c1ec61dad82cceaa439da290f6966 Mon Sep 17 00:00:00 2001 From: Deilan Date: Tue, 6 Jun 2017 01:42:59 +0300 Subject: [PATCH] Added `build` `preLaunchTask` for debug configuration --- .vscode/launch.json | 4 ++-- .vscode/tasks.json | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json index 52d934b..5d2b807 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,8 +3,7 @@ // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", - "configurations": [ - + "configurations": [ { "type": "node", "request": "launch", @@ -14,6 +13,7 @@ "outFiles": [ "../dist/**/*.js" ], + "preLaunchTask": "build", "protocol": "inspector" } ] diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..55434a5 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,15 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "npm", + "isShellCommand": true, + "showOutput": "always", + "suppressTaskName": true, + "tasks": [ + { + "taskName": "build", + "args": ["run", "build"] + } + ] +} \ No newline at end of file