One of the great things about the Angular CLI is it comes with a built-in development server. In this video, learn how to use the development server in order to build and serve your app as it watches for changes.
- [instructor] The Angular CLI does a really great job … tailoring to developer experience. … Aside from scaffolding an entire application for you, … the CLI makes it easy for you … to serve your app for development. … Let's continue with the sample … that we previously generated. … To see the available options for serving your application, … you can use the dash hash help flag with ng serve. … Lots of options here to use. … Let's use the default options for now, ng serve. … This command will build your app in memory … and start a light development server for you at Port 4200. … Let's go ahead and click on this link here. … The really great feature here … is that you can change any of your source files … and the CLI will take care … of automatically compiling your application … and reload your browser. … Let's make a change now to our app component. … Heading over to App.component.html, … let's go ahead and add a header. … Let's give that a save, … head over back to our browser, … and our application has automatically …
Author
Released
1/8/2021Skill Level Intermediate
Duration
Views
Related Courses
-
Learning Angular
with Ray Villalobos1h 40m Beginner -
Angular: API Communication and Authentication
with Victor Mejia1h 41m Intermediate -
Angular Essential Training
with Justin Schwartzenberger3h 30m Intermediate -
Angular Testing and Debugging
with Derek Peruo1h 16m Intermediate
-
Introduction
-
Using the exercise files1m 16s
-
1. Exploring the Angular CLI
-
Installing the CLI1m 30s
-
2. Updating Angular Versions
-
Using ng update: Part 13m 36s
-
Using ng update: Part 23m 52s
-
3. Creating New Angular Projects
-
The ng new command3m 49s
-
Adding application assets3m 55s
-
Adding a CSS framework1m 8s
-
-
4. Serving Angular Applications for Development
-
The ng serve command1m 27s
-
-
5. Generating Angular Application Code
-
Generating pipes45s
-
Generating route guards1m 39s
-
Generating custom library1m 27s
-
6. Building Angular Applications
-
The ng build command1m 3s
-
7. Running Tests
-
Test run options1m 26s
-
Testing workflow2m 59s
-
Conclusion
-
Next steps32s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: The ng serve command