Q. What does the 'ng serve' command do?

  • (A) Compiles and runs the Angular app locally with live reload
  • (B) Builds the app for production
  • (C) Generates a new component
  • (D) Runs unit tests
πŸ’¬ Discuss
βœ… Correct Answer: (A) Compiles and runs the Angular app locally with live reload
Explanation: ng serve starts a development server and watches for file changes.
Explanation by: Mr. Dubey
ng serve starts a development server and watches for file changes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate