From 47899db9a6c776edc12b59e1fcd3097475b264a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Fri, 15 Apr 2022 07:35:54 +0800 Subject: [PATCH] fix: correct watch value type --- scripts/watch.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/watch.mjs b/scripts/watch.mjs index db84c85..7d52780 100644 --- a/scripts/watch.mjs +++ b/scripts/watch.mjs @@ -34,7 +34,7 @@ function watchMain(server) { mode: 'development', plugins: [!debug && startElectron].filter(Boolean), build: { - watch: true, + watch: {}, }, }) } @@ -53,7 +53,7 @@ function watchPreload(server) { }, }], build: { - watch: true, + watch: {}, }, }) }