ng serve

noun

say it: “EN-JEE SERV” /ˌɛn ˈdʒiː sɜːrv/

The Angular CLI command that runs the app locally and reloads it when files change.

What does ng serve do?

ng serve builds your app and runs it on a local development server (usually http://localhost:4200). It reloads the browser automatically whenever you save a file.

ng serve --open

In a sentence

  • “With ng serve running, every save reloads the page at localhost:4200.”

Level: Novice · More Angular terms at this level

Updated