We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada844f commit 029fdbbCopy full SHA for 029fdbb
packages/core/src/client/hmr.ts
@@ -154,6 +154,9 @@ function onOpen() {
154
// Notify users that the WebSocket has successfully connected.
155
console.info('[rsbuild] WebSocket connected.');
156
157
+ // Reset reconnect count
158
+ reconnectCount = 0;
159
+
160
// To prevent WebSocket timeouts caused by proxies (e.g., nginx, docker),
161
// send a periodic ping message to keep the connection alive.
162
pingIntervalId = setInterval(() => {
0 commit comments