Dev-server builder
This is the documentation for Angular 6.
You can switch to the
latest version Angular 10.
ID: @angular-devkit/build-angular:dev-server
Options
--browserTarget
#
--port
#
--host
#
Host to listen on. Type | string |
Aliases | localhost |
--proxyConfig
#
Proxy configuration file. --ssl
#
--sslKey
#
SSL key to use for serving HTTPS. --sslCert
#
SSL certificate to use for serving HTTPS. --open
#
Opens the url in default browser. --liveReload
#
Whether to reload the page on change, using live-reload. Type | boolean |
Default | true |
--publicHost
#
Specify the URL that the browser client will use. --servePath
#
The pathname where the app will be served. --disableHostCheck
#
Don't verify connected clients are part of allowed hosts. --hmr
#
Enable hot module replacement. --watch
#
Rebuild on change. Type | boolean |
Default | true |
--hmrWarning
#
Show a warning when the --hmr option is enabled. Type | boolean |
Default | true |
--servePathDefaultWarning
#
Show a warning when deploy-url/base-href use unsupported serve path values. Type | boolean |
Default | true |
--optimization
#
Defines the optimization level of the build. --aot
#
Build using Ahead of Time compilation. --sourceMap
#
--evalSourceMap
#
Output in-file eval sourcemaps. --vendorChunk
#
Use a separate bundle containing only vendor libraries. --commonChunk
#
Use a separate bundle containing code used across multiple bundles. --baseHref
#
Base url for the application being built. --deployUrl
#
URL where files will be deployed. --verbose
#
Adds more details to output logging. --progress
#
Log progress to the console while building.