Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Listen to random port if not configured #6

Closed
tripodsan opened this issue Jul 6, 2018 · 1 comment
Closed

Listen to random port if not configured #6

tripodsan opened this issue Jul 6, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tripodsan
Copy link
Contributor

tripodsan commented Jul 6, 2018

for local development together with petridish, the git-server should be transparent to the developer. in order to avoid potential conflicts it would be good to start the server on a random port.

suggest

  • if port(s) are configured with 0, the server chooses a random port (which is the default behaviour for server.listen)
  • the returned promise from start() should contain the port information. eg: { port: 1234, portSsl: 1235}
@tripodsan
Copy link
Contributor Author

fixed in v0.0.1-SNAPSHOT.13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant