gatsby serve

Serve the production build of your site for testing

Options

NameDescription
-H, --host <host>Set host. Defaults to localhost
-p, --port <port>Set port. Defaults to env.PORT or 8000
-o, --openOpen the site in your (default) browser for you
--prefix-pathsServe site with link paths prefixed