commands.sh

ng serve

all

Build and serve the application, rebuilding on file changes.

More info →

Options (2)

boolean

Start the application

Example: ng {{[s|serve]}}
-o, --openboolean

Start the application and open it in a browser

Example: ng {{[s|serve]}} {{[-o|--open]}}

Examples (7)

Start the application

ng [s|serve]

Start the application and open it in a browser

ng [s|serve] [-o|--open]

Start the application on port `4201`

ng [s|serve] --port 4201

Start the application and listen on all network interfaces

ng [s|serve] --host 0.0.0.0

Start the application using HTTPS

ng [s|serve] --ssl

Start the application with verbose logging

ng [s|serve] --verbose

Rebuild the application when files change

ng [s|serve] --watch
made by @shridhargupta | data from tldr-pages