[DevServer] Investigate how to use localhost first on desktop #17757
Labels
area/hot-reload
Categorizes an issue or PR as relevant to hot reload
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/enhancement
New feature or request
What would you like to be added
Investigate how connect to localhost first to avoid many websocket errors on multi-homed devices.
Why is this needed
Connecting to localhost first would work for same-machine, then if it fails (e.g. remote development on a RPi) fallback to the rest of the known addresses.
We could also somehow prioritize addresses based on the "last known working", where the devserver could store the binding address of the last successful connection, then prioritize this one in a subsequent build. This would reduce the number of connection errors in Wasm and other targets and make "first-chance" debugging less annoying.
For which platform
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: