@nrwl/gatsby:server

Starts server for app

Options can be configured in workspace.json when defining the executor, or when invoking it. Read more about how to use executors and the CLI here: https://nx.dev/getting-started/nx-cli#common-commands.

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.