Where is config the emmm... _build/ port? #1355
Unanswered
PeterlitsZo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It looks to me like this is configured with export default defineConfig({
vite: {
server: {
hmr: {
port: 4444,
},
},
},
}); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run
bun run dev
, it will start a dev mode server on port 3000. And it is OK when I using the VSCode Remote - it will proxy it.But the question is that it also open another port to handle those
_build/
requests:The problem is that the port is always changed and I have to change my proxy config every time when I try to restart the dev mode server.
Do you guys know where is the place to change its behave (I try myself to dive into it to patch it but failed) or to config it (which is better).
Beta Was this translation helpful? Give feedback.
All reactions