From 689a406f8e3a433c8ba78253127354766bd1166f Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Fri, 17 Mar 2023 14:41:15 +0800 Subject: [PATCH] fix(nvue): renderer: native hmr (question/164673) --- packages/uni-app-vite/src/nvue/plugins/pagesJson.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/uni-app-vite/src/nvue/plugins/pagesJson.ts b/packages/uni-app-vite/src/nvue/plugins/pagesJson.ts index 74374737f6..f0a8f432e7 100644 --- a/packages/uni-app-vite/src/nvue/plugins/pagesJson.ts +++ b/packages/uni-app-vite/src/nvue/plugins/pagesJson.ts @@ -62,7 +62,8 @@ export function uniPagesJsonPlugin({ disableScroll: page.style.disableScroll, scrollIndicator: page.style.scrollIndicator, } - this.addWatchFile(filename) + // fix: question/164673 + // this.addWatchFile(filename) } }) if (renderer === 'native' && appService) { -- GitLab