@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
Target which builds the application.
host
localhostHost to listen on.
maxParallel
Max number of parallel jobs.
parallel
trueBuild the target in parallel.
port
4200Port to listen on.
proxyUrl
URL to proxy unhandled requests to.
ssl
falseServe using HTTPS.
sslKey
SSL key to use for serving HTTPS.
sslCert
SSL certificate to use for serving HTTPS.
spa
falseRedirect 404 errors to index.html (useful for SPA's)
watch
trueWatch for file changes.