HMR random port reporting for VSCode autoForwardPorts #455
moncapitaine
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Because the WS ports for HMR are random as discussed in (#404) in vinxi and I am working in dev-containers I need to autoForwardPorts when starting my TanStack-Start app.
This plugin does some console output VSCode reads and opens the port if VSCode setting remote.autoForwardPorts is set to true:
http://localhost:${hmr.port} is a lie but VSCode does the right thing.
Just in case it helps if you are using devcontainers and HMR in vinxi projects.
Regards,
Michael
Beta Was this translation helpful? Give feedback.
All reactions