45 lines
598 B
Markdown

# 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/react/getting-started/nx-cli#running-tasks.
## 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.