You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then the WebSocketEndpoint could be provided internally at /, so that the route name stays hot-reload, i.e. whatever is given to Mount.
Wouldn't remove the need to register event handlers (most frameworks don't support lifespan on sub-apps, eg see encode/starlette#649), but at least it's a bit less framework-specific surface.
The text was updated successfully, but these errors were encountered:
HotReload
should be an actual ASGI app that we can mount onto an app, instead of having to manually register itsWebSocketEndpoint
:Then the
WebSocketEndpoint
could be provided internally at/
, so that the route name stayshot-reload
, i.e. whatever is given toMount
.Wouldn't remove the need to register event handlers (most frameworks don't support lifespan on sub-apps, eg see encode/starlette#649), but at least it's a bit less framework-specific surface.
The text was updated successfully, but these errors were encountered: