diff --git a/.vscode/launch.json b/.vscode/launch.json index 52d934bd..5d2b807a 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 00000000..55434a50 --- /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