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

Request: Configurable DevServerManager port #240

Open
terussell85 opened this issue Feb 14, 2025 · 0 comments
Open

Request: Configurable DevServerManager port #240

terussell85 opened this issue Feb 14, 2025 · 0 comments

Comments

@terussell85
Copy link

I'm not sure if this is possible given the comments on #42 , but I'd bring it up, since I'm surprised no one else has run into it..

Having the dev server port hardcoded to 8080 in ports.ts (https://github.com/HubSpot/hubspot-local-dev-lib/blob/main/constants/ports.ts#L4) make configuring local dev environments difficult. Many backend frameworks default to 8080, so there are naturally conflicts.

In our case, we have a public HubSpot app that we are developing locally that needs to connect backend services (also running locally). The proxy functionality in the hs cli. Because we already have a service running at 8080, in order to run the hs project dev command, we have to reconfigure our entire port mapping for our micro-services. Not impossible, but not ideal either.

It'd be really nice if DevServerManager supported a configurable port so that it can be used in the cli when running. hs project dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant