From 32e4af199ab1417e7e2e515e6bf1324e65b694d4 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Tue, 16 Jan 2024 00:25:36 +0100 Subject: [PATCH] chore(Makefile): frontend-watch --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 33b584d98..4ad106611 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,11 @@ frontend-%: node_modules .PHONY: --frontend-build --frontend-build: - npx -- webpack --progress + npx -- webpack --progress $(WATCH) + +.PHONY: --frontend-watch +--frontend-watch: WATCH=--watch +--frontend-watch: --frontend-build node_modules: .npmrc package.json npm ci --cache .npm --prefer-offline