Just playing with Angular CLI.
Here is what I did:
- npm install -g angular-cli
- ng new PROJECT_NAME
- cd PROJECT_NAME
- ng serve
- hit the page at: http://localhost:4200/ in browser
- change app.component.ts file, no change in browser
- change app.component.html file, new change is automatically reflected in browser
What is that my change in ts file not detected?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…