Replies: 1 comment
-
Try this In your import { defineConfig } from "@solidjs/start/config";
export default defineConfig({
vite({ router }) {
if (router === "client") {
return {
server: {
hmr: {
port: 3001,
},
},
};
}
return {};
},
}); And in your ports:
- 3001:3001 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use docker for my local development, and I have the primary application port exposed on my machine. Since upgrading to 0.4.0, however, the network tab shows repeated attempts to
/_build/
on a different port than what the rest of the app is served from:How can I configure the port where
/_build/
is served from so I can reliably expose it from Docker and the connection can succeed? I've tried tracing the code through to vinxi but wasn't able to determine the correct parameters for my configuration.Beta Was this translation helpful? Give feedback.
All reactions