Angular 9 References/ CLI

Dev-server builder

This is the documentation for Angular 9.
You can switch to the latest version Angular 10.

ID: @angular-devkit/build-angular:dev-server



Whitelist of hosts that are allowed to access the dev server.
Type array


Build using Ahead of Time compilation.
Type boolean


Base url for the application being built.
Type string


Target to serve.
Type string


Use a separate bundle containing code used across multiple bundles.
Type boolean


URL where files will be deployed.
Type string


Don't verify connected clients are part of allowed hosts.
Type boolean


Output in-file eval sourcemaps.
Type boolean


Enable hot module replacement.
Type boolean


Show a warning when the --hmr option is enabled.
Type boolean
Default true


Host to listen on.
Type string
Default localhost


Whether to reload the page on change, using live-reload.
Type boolean
Default true


Opens the url in default browser.
Type boolean
Aliases o


Defines the optimization level of the build.
Type boolean


Port to listen on.
Type number
Default 4200


Log progress to the console while building.
Type boolean


Proxy configuration file.
Type string


Specify the URL that the browser client will use.
Type string


The pathname where the app will be served.
Type string


Show a warning when deploy-url/base-href use unsupported serve path values.
Type boolean
Default true


Output sourcemaps.
Type boolean


Serve using HTTPS.
Type boolean


SSL certificate to use for serving HTTPS.
Type string


SSL key to use for serving HTTPS.
Type string


Use a separate bundle containing only vendor libraries.
Type boolean


Resolve vendor packages sourcemaps.
Type boolean
Default false


Adds more details to output logging.
Type boolean


Rebuild on change.
Type boolean
Default true