Skip to content

Commit

Permalink
Revert "liveReload: add hearbeat for keepalive (#6904)"
Browse files Browse the repository at this point in the history
This reverts commit 218c6eb.
  • Loading branch information
ryanflorence authored Jul 21, 2023
1 parent 218c6eb commit 69d489f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/remix-dev/devServer/liveReload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,9 @@ export async function liveReload(config: RemixConfig) {
}
);

const heartbeat = setInterval(broadcast, 60000, { type: "PING" });

exitHook(() => clean(config));
return async () => {
wss.close();
clearInterval(heartbeat);
await dispose();
};
}

0 comments on commit 69d489f

Please sign in to comment.