Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config for setting ws port #245

Closed
halvardssm opened this issue Aug 30, 2022 · 1 comment
Closed

Add config for setting ws port #245

halvardssm opened this issue Aug 30, 2022 · 1 comment
Labels
question Further information is requested

Comments

@halvardssm
Copy link

Is your feature request related to a problem? Please describe.
Using complicated nginx proxy setups with docker for local development, the port has to be manually added to the ports list to be able to access it. Currently I cannot set the ws port, which makes it impossible to support live reload.

Describe the solution you'd like
I would like to be able to set a property in the ladle config file which can set the port for the websocket for live reload.

Thanks for your work!

@halvardssm halvardssm added the needs triage needs to be reviewed label Aug 30, 2022
@tajo
Copy link
Owner

tajo commented Aug 30, 2022

Adding vite.config.js with server.hmr.port should do the trick?

@tajo tajo added question Further information is requested and removed needs triage needs to be reviewed labels Aug 30, 2022
@tajo tajo closed this as completed Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants