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

documentation: update gatsby-cli docs to specify process.env.PORT usage #20214

Closed
wardpeet opened this issue Dec 19, 2019 · 1 comment · Fixed by #20417
Closed

documentation: update gatsby-cli docs to specify process.env.PORT usage #20214

wardpeet opened this issue Dec 19, 2019 · 1 comment · Fixed by #20417
Labels
stale? Issue that may be closed soon due to the original author not responding any more. type: documentation An issue or pull request for improving or updating Gatsby's documentation

Comments

@wardpeet
Copy link
Contributor

Summary

A new option was added to gatsby-cli that makes it possible to use the PORT env variable instead while running the develop command.

The behavior of the develop command hasn't changed. gatsby develop -p 8000 still works and is used over the env variable if provided. With the new changes we can do PORT=4000 gatsby develop and the default port will be 4000. PORT=4000 gatsby develop -p 8080 will still use port 8080 instead of 4000.

Documentation that needs to be updated are:

This issue was raised by @muesha #20110 (comment)

Motivation

We need to keep our documentation up to date.

@gatsbot gatsbot bot added the type: documentation An issue or pull request for improving or updating Gatsby's documentation label Dec 19, 2019
@github-actions
Copy link

github-actions bot commented Jan 8, 2020

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the Gatsby community! 💪💜

@github-actions github-actions bot added the stale? Issue that may be closed soon due to the original author not responding any more. label Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale? Issue that may be closed soon due to the original author not responding any more. type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant