2022-01-13 12:37:19 -05:00

49 lines
692 B
Markdown

---
title: '@nrwl/gatsby:server executor'
description: 'Starts server for app'
---
# @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 configure targets and executors here: https://nx.dev/configuration/projectjson#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.