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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants