Replies: 1 comment 6 replies
-
Why does it reload above 500ms ? you think timeout was changed by someone from frontend ? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, not sure what I'm trying to solve is actually possible. I am building a simple static HTML web server, using Bun.serve and Hono framework. I would like to add simple reload on source code change (or specifically on templates folder changes). Currently I was able to make a hacky solution, where any open page just reloads on WebSocket connection lost event in 500ms. It's kind of enough for now, but once server reload is above 500ms, it will start hurting DX:
Are there any other approaches? Maybe there's a hidden callback or event I can subscribe to with other process?
Beta Was this translation helpful? Give feedback.
All reactions