-
Notifications
You must be signed in to change notification settings - Fork 12k
CLI seems to ignore changes in code when changedetection sets in #5704
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
Comments
Can you reproduce this from an |
Thank you for your reply Meligy, yes I can reproduces this with a fresh ng new project, when i'm changing the title in the app.component.ts it seems that the compiler sometimes ignore the changes. Sometimes it show's the new App Title but most of the time it ignores the changes. I added a video up on this post so you can see the problem. |
I happen to have the same problem while using Webstorm. On VS Code works ok... for the moment. |
Thank you teddymro, I played around with webstorm and in Settings -> Appearance & Behavior -> System Settings is a Property called Use "safe write" (save changes to a temporary file first)". If this property is checked changes will temporarily be detected, if it's turned off all works fine for me. Thank you for giving me this little hint for this solution. Maybe you can check this too. I think we could close this issue for now :) |
I have the same problem using VIM. |
I don't know much about VIM but, maybe there is an option like "safe write" in VIM too, to solve this problem? |
Dupe of #5117 |
There is a solution for Vim there as well. |
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. |
Uh oh!
There was an error while loading. Please reload this page.
Bug Report or Feature Request
Versions
@angular/cli: 1.0.0
node: 7.7.4
os: win32 x64 (Windows 8.1)
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/animations: 4.0.0
@angular/core: 4.0.0
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/router: 4.0.0
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0
Repro steps.
Upgraded our project to [email protected] / [email protected] and run ng-serve made some code improvements and check them after the auto recompiling
The log given by the failure.
I'm starting my developement routine with starting the project with ng serve then I made some code improvements, then the auto re-compile / change detection sets in. It seems that the cli ignores them completly cause nothing happens, there are no changes that I made and no console logs. After ending ng serve and starting it new, all is fine and the changes and logs are available.
The text was updated successfully, but these errors were encountered: