From 9ede5125ed5f2b8a3bf20c8cafaf0cbc456b7617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20L=2E=20Hansen?= Date: Sun, 27 Nov 2022 21:19:34 -0800 Subject: [PATCH] Add task to run webpack continuously --- .vscode/extensions.json | 5 +++++ .vscode/tasks.json | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..c97b782 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "amodio.tsl-problem-matcher" + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..e42984c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,16 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "webpack watch", + "type": "shell", + "command": "cd ${workspaceFolder}/js;DEV=1 npx webpack --watch --mode=development", + "problemMatcher": [ + "$ts-webpack-watch" + ], + "isBackground": true + } + ] +} \ No newline at end of file