Nx comes with dedicated documentation for each framework:

@nrwl/gatsby:server

Starts server for app

Options can be configured in angular.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/core-concepts/configuration#targets.

Options

buildTarget

Type: string

Target which builds the application

host

Default: localhost

Type: string

Host to listen on.

https

Default: false

Type: boolean

Serve using HTTPS.

open

Type: boolean

Open the site in your (default) browser for you.

port

Default: 4200

Type: number

Port to listen on.