documentation: update gatsby-cli docs to specify process.env.PORT usage #20214
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
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 doPORT=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.
The text was updated successfully, but these errors were encountered: