ng serve

This is the documentation for Angular 6.
You can switch to the latest version Angular 7.
ng serve [--[argument]=[value]]
ng server
ng s

Build the application and start a web server.

Alias for the command:

ng run [project]:serve

In the default configuration for ng serve using builder dev-server.

With this command you can override any builder's option.

Options

prod#

Flag to set configuration to "prod".

Alias for the command:

ng run [default-project]:serve:production
Type boolean
Default false

configuration#

Specify the configuration to use.

Type string
Aliases c