From b27d962db16797dbe443cd66b250672d9929a2a8 Mon Sep 17 00:00:00 2001 From: zstings <41415769+zstings@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:51:01 +0800 Subject: [PATCH 1/2] fix(hmr): should reload if relies file changed after re-render --- playground/hmr/TestHmr.vue | 3 +++ playground/hmr/lib.js | 3 +++ src/index.ts | 8 +++++++- src/main.ts | 16 ++++++++++++++-- test/test.spec.ts | 8 ++++++++ 5 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 playground/hmr/lib.js diff --git a/playground/hmr/TestHmr.vue b/playground/hmr/TestHmr.vue index 6653161..a84ae5c 100644 --- a/playground/hmr/TestHmr.vue +++ b/playground/hmr/TestHmr.vue @@ -1,8 +1,10 @@