-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
I have a basic SSE updated div. Let's say:
<div hx-ext="sse" sse-connect="/events">
<div sse-swap="TimeComponent"><div>Current time: 01:14:25</div>
</div>
I have a server that responds with an event stream like:
event: TimeComponent
data: <div>Current time: 01:14:26</div>
event: TimeComponent
data: <div>Current time: 01:14:27</div>
When I shut down the server and start it back up fast enough for the browser to reconnect without an error, the dom continues to be updated.
If I shut down the server for long enough for the browser to retry and see a 503 error and then start it back up, it htmx still reconnects to the stream, but it doesn't update any dom elements from that point going forward unless I reload the page.
I hope this is enough information to understand the issue. Let me know if you need a more thorough repro.
Metadata
Metadata
Assignees
Labels
No labels