-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Launching with command that auto configures serverPort? #936
Comments
Sounds like a good feature, feel free to send a pull request ;-) |
Ill will try to make some time this weekend. |
@santaclauze you could use https://github.com/indexzero/node-portfinder to set an open port automatically? |
CRA uses detect-port. Maybe it's a better (or more secure) solution. |
@gergely-nagy, that would be great. TBH, my family life make it hard to spend time on side projects and I am a dev in the making, so it takes even longer. As for now, a quick and not elegant way was to replace the default serverPort settings to:
|
I've published a quick fix in the schema for See #995 |
@gergely-nagy I tried with |
🎉 This issue has been resolved in version 10.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi,
I am working with your library more and more and its awesome! So much that i am working on multiple modules that have styleguidist.
My issue is that:
Following the documentation it seems that the port used by styleguidist seems to be
6060
by default and that it can only be changed withserverPort
, in thestyleguide.config.js
.This is a pain as I do not want to change the config just for a temporary need.
Question / Request
Is it possible to launch the dev server by setting the port in the command?
ex:
The text was updated successfully, but these errors were encountered: