Skip to content

Angular 17 ng serve did not watch file changes #26414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
albahrawy opened this issue Nov 19, 2023 · 2 comments
Closed

Angular 17 ng serve did not watch file changes #26414

albahrawy opened this issue Nov 19, 2023 · 2 comments

Comments

@albahrawy
Copy link

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?

@JoostK JoostK transferred this issue from angular/angular Nov 19, 2023
@JoostK
Copy link
Member

JoostK commented Nov 19, 2023

I am going to close this as a duplicate of #26406, which may be itself a duplicate of #26334 or #26390 but that hasn't been confirmed yet. Please try once the upcoming 17.0.2 release expected early this week is out.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants