Skip to content

Commit

Permalink
fix: watchPath issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonghakseo committed Mar 10, 2024
1 parent c5a675e commit f93818a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/hmr-old/lib/initReloadClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f93818a

Please sign in to comment.