-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Angular 17 ng serve did not watch file changes #26414
Description
Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
No
Description
in my project using angular 17, everything is working as expected but with ng serve it did not watch file changes.
I checked everythig, I even create a brand new application from command line and did not touch it, just run ng-serve and try to add something to .ts file or html file or even scss. but it did not rebuild again. although I'm getting the following info in terminal:
chunk-GFVYSP26.js | - | 1.75 kB |
chunk-NSLR7JYB.js | - | 1.05 kB |
Application bundle generation complete. [22.664 seconds]
Watch mode enabled. Watching for file changes...
➜ Local: http://localhost:4200/
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 17.0.1
Node: 20.9.0
Package Manager: npm 10.1.0
OS: win32 x64
Angular: undefined
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1700.1
@angular-devkit/core 17.0.1
@angular-devkit/schematics 17.0.1
@angular/cli 17.0.1
@schematics/angular 17.0.1
Anything else?
it is annoying to stop and run again for every simple change. please any help for that?