Connect to HMR websocket #14354
-
I'm trying to connect to the web socket that handles HMR to trigger custom function in another application. Is there any limitation on this web socket, preventing for other client to connect to it ? |
Beta Was this translation helpful? Give feedback.
Answered by
RomaLefrancois
Sep 12, 2023
Replies: 1 comment 1 reply
-
Not sure why, but I got it to work by setting server: {
host: "0.0.0.0",
port: 8887,
strictPort: true,
hmr: {
host: "0.0.0.0",
port: 8886,
},
}, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RomaLefrancois
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure why, but I got it to work by setting
hmr
on a different port.