Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Choose a random port instead of always using 3000 by default#102

Open
e-n-f wants to merge 1 commit intomasterfrom
random-port
Open

Choose a random port instead of always using 3000 by default#102
e-n-f wants to merge 1 commit intomasterfrom
random-port

Conversation

@e-n-f
Copy link
Contributor

@e-n-f e-n-f commented Jun 1, 2020

So that it is easy to have multiple instances of mbview running at the same time without having to set the port manually

So that it is easy to have multiple instances of mbview running
at the same time without having to set the port manually
@andrewharvey
Copy link
Contributor

I'd probably prefer it try 3000 by default and then if it's not available use another random port. This seems to be what most other tools do.

Though the only advantage I can think of for mostly using the same port is it's more familiar to the user and it'll pick up the localstorage cache more often than not.

@e-n-f
Copy link
Contributor Author

e-n-f commented Jun 2, 2020

@andrewharvey I agree. I'll see if I can figure out how to do that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants