Skip to content

Commit 28ed71f

Browse files
committed
Update index.ts
1 parent ac6771c commit 28ed71f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/runtime/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ function $$refreshESM(type: ESMRuntimeType, hot: ESMHot, registry: Registry) {
294294
mod == null ||
295295
patchRegistry(hot.data[SOLID_REFRESH], hot.data[SOLID_REFRESH_PREV])
296296
) {
297-
// hot.invalidate();
298-
window.location.reload();
297+
hot.invalidate();
299298
}
300299
});
301300
} else {

0 commit comments

Comments
 (0)