Skip to content

Commit 22ad43b

Browse files
authored
perf(client): reduce reload debounce (vitejs#20429)
1 parent 8979b14 commit 22ad43b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/client/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const debounceReload = (time: number) => {
132132
}, time)
133133
}
134134
}
135-
const pageReload = debounceReload(50)
135+
const pageReload = debounceReload(20)
136136

137137
const hmrClient = new HMRClient(
138138
{

0 commit comments

Comments
 (0)