Options

buildTarget

Required
string

Target which builds the application.

spa

boolean
Default: false

Redirect 404 errors to index.html (useful for SPA's)

cors

boolean
Default: true

Enable CORS

host

string
Default: localhost

Host to listen on.

maxParallel

number

Max number of parallel jobs.

parallel

boolean
Default: true

Build the target in parallel.

port

number
Default: 4200

Port to listen on.

proxyUrl

string

URL to proxy unhandled requests to.

proxyOptions

Default: {}

Options for the proxy used by http-server.

ssl

boolean
Default: false

Serve using HTTPS.

sslKey

string

SSL key to use for serving HTTPS.

sslCert

string

SSL certificate to use for serving HTTPS.

staticFilePath

string

Path where the build artifacts are located. If not provided then it will be infered from the buildTarget executor options as outputPath

watch

boolean
Default: true

Watch for file changes.