@nrwl/web:file-server
Serve a web application from a folder.
Options can be configured in project.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
Required
string
Target which builds the application.
host
string
Default:
localhostHost to listen on.
maxParallel
number
Max number of parallel jobs.
parallel
boolean
Default:
trueBuild the target in parallel.
port
number
Default:
4200Port to listen on.
proxyUrl
string
URL to proxy unhandled requests to.
ssl
boolean
Default:
falseServe using HTTPS.
sslKey
string
SSL key to use for serving HTTPS.
sslCert
string
SSL certificate to use for serving HTTPS.
watch
boolean
Default:
trueWatch for file changes.