-
Notifications
You must be signed in to change notification settings - Fork 12k
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
"ng serve" not reflecting changes automatically in Angular 17 when parent directory start with dot #26441
Comments
Can you please provide the output of |
becuase my workspace conains a lot of angualr lib and demo projects, I was thinking may be that is the reason, so simply Initial Chunk Files | Names | Raw Size
Application bundle generation complete. [6.307 seconds] 2- in app.component.ts I changed title as this and save. we expect to rebuild again and reflect that changes, but nothing happen. I stopped and serve again, ofcourse it reflect the changes. This is the ng version command line output Angular CLI: 17.0.2 Angular: 17.0.4 Package Version@angular-devkit/architect 0.1700.2 |
@albahrawy which IDE are you using? |
Hello, any update for this please? |
Hi @albahrawy, I am unable to replicate this, can you try to use 17.0.3? Also, what is exact problem, is the a re-build being performed and not reflected in the browser? or the the rebuild is not even triggered? |
the rebuild is not even triggered |
Can you please try using |
I'm trying to install it right now and I will let you know |
I think I figured out the issue, |
… in a directory that starts with a dot This commit fixes an issue were previously, application files in a directory that starts with a dot were being ignored from watching. Closes angular#26441
… in a directory that starts with a dot This commit fixes an issue were previously, application files in a directory that starts with a dot were being ignored from watching. Closes angular#26441
… in a directory that starts with a dot This commit fixes an issue were previously, application files in a directory that starts with a dot were being ignored from watching. Closes angular#26441
This happens to me also with 17.0.2 I have a quite large project recently I updated to Angular 17. And when debugging the app, I make a code change (typescript), and the console detects the change, rebuilds. But the browser is the same. I press F5 to reload and the old code is still there. I have to stop everything and do ng serve again to get my changes. I will test 17.0.3 and see if problem persists. |
… in a directory that starts with a dot This commit fixes an issue were previously, application files in a directory that starts with a dot were being ignored from watching. Closes #26441
… in a directory that starts with a dot This commit fixes an issue were previously, application files in a directory that starts with a dot were being ignored from watching. Closes angular#26441 (cherry picked from commit 28583d0)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Is this a regression?
The previous version in which this bug was not present was
16.x
Description
following on the 26414 and 26334. I used 17.0.2 as you suggested but still the same issue is there. I have to stop and re-run ng serve again to reflect the changes
Thanks
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
The application should automatically reflect the changes in the browser without needing to manually restart the server.
Actual Behavior
The application does not update the UI or show any error messages after saving changes. The only workaround is to stop and re-run ng serve.
Environment
The text was updated successfully, but these errors were encountered: