[HMR] Cannot check for update (Full reload needed) after angular error #421

Closed
opened 2025-08-09 17:16:14 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @ksstott on 9/15/2017

I am getting the following warning when an error is made in the angular code. Obviously the second error is useful and is telling me that I have used a html element that angular does not understand however the first line seems incorrect and the HMR is broken from this point on wards (i.e. the code does not auto reload when I correct the angular error)

image

I am not sure when this started happening however I can reproduce it with the latest AspNetCore2.0 angular template and I can replicate it on a solution I have based on an older AspNetCore1.1 template from several months ago. I am certain that the code did not formally behave like this and that in this situation the screen would have been greyed out with a list of errors on the screen (as well as in the console error). Once the errors were fixed the HMR would have continued to operate and the code would have been rebuilt and the site continue to work.

I have a feeling that this may have broken for me in the last few days because I have only noticed it yesterday but I could have just not noticed it. Any ideas as to what this problem is?

*Originally created by @ksstott on 9/15/2017* I am getting the following warning when an error is made in the angular code. Obviously the second error is useful and is telling me that I have used a html element that angular does not understand however the first line seems incorrect and the HMR is broken from this point on wards (i.e. the code does not auto reload when I correct the angular error) ![image](https://user-images.githubusercontent.com/3505022/30484765-5ee1d50c-9a23-11e7-87de-8b9833b86730.png) I am not sure when this started happening however I can reproduce it with the latest AspNetCore2.0 angular template and I can replicate it on a solution I have based on an older AspNetCore1.1 template from several months ago. I am certain that the code did not formally behave like this and that in this situation the screen would have been greyed out with a list of errors on the screen (as well as in the console error). Once the errors were fixed the HMR would have continued to operate and the code would have been rebuilt and the site continue to work. I have a feeling that this may have broken for me in the last few days because I have only noticed it yesterday but I could have just not noticed it. Any ideas as to what this problem is?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#421
No description provided.