From 2fe8c3cef7f29f9ab5ee8d757823e471397d4202 Mon Sep 17 00:00:00 2001 From: Nick Mitchell Date: Tue, 11 Apr 2023 15:15:47 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20initial=20run=20of=20watchers=20may=20no?= =?UTF-8?q?t=20correctly=C2=A0generate=20prescan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/webpack/bin/watch.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/webpack/bin/watch.sh b/packages/webpack/bin/watch.sh index 8eedaf4b405..6417183b9f2 100755 --- a/packages/webpack/bin/watch.sh +++ b/packages/webpack/bin/watch.sh @@ -52,6 +52,10 @@ THEME="${MODULE_HOME}"/client rm -rf "$KUI_BUILDDIR"/dist/webpack/* +# make sure we prime the prescan, even if we cannot fully generate it, +# yet +npx kui-prescan + if [ -n "$OPEN" ]; then OPEN="--open" else