From f93818a5d917848c511c55bc50ef28831c556664 Mon Sep 17 00:00:00 2001 From: Jonghakseo Date: Mon, 11 Mar 2024 01:28:55 +0900 Subject: [PATCH] fix: watchPath issue --- packages/hmr-old/lib/initReloadClient.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/hmr-old/lib/initReloadClient.ts b/packages/hmr-old/lib/initReloadClient.ts index 1cd3fb04e..d199abe58 100644 --- a/packages/hmr-old/lib/initReloadClient.ts +++ b/packages/hmr-old/lib/initReloadClient.ts @@ -32,7 +32,9 @@ export default function initReloadClient({ } case 'wait_update': { if (!needToUpdate) { - needToUpdate = message.path.includes(watchPath); + // needToUpdate = message.path.includes(watchPath); + // TODO: make without path + needToUpdate = true; } return; }