From c874bdce3da8633271646bf90af669fc9855ff3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sun, 20 Sep 2020 18:06:52 +0100 Subject: [PATCH] fix(build): rebuild ui assets on npm install --- ui/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/Makefile b/ui/Makefile index 34f192d0f..0c0938fcb 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -19,7 +19,7 @@ $(NODE_INSTALL): package.json package-lock.json $(NODE_PATH)/%: $(NODE_INSTALL) @if [ ! -x $@ ]; then echo "missing script: $@" ; exit 1; fi -build/index.html: $(NODE_PATH)/react-scripts $(call rwildcard, public src, *) +build/index.html: $(NODE_INSTALL) $(NODE_PATH)/react-scripts $(call rwildcard, public src, *) @rm -fr node_modules/.cache/eslint-loader npm run build