You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is expected behavior. The build system requires knowledge of the Angular components within the application to be able to send partial updates of individual components. With JIT mode, Angular components are compiled in the browser and the build system only sees TypeScript code.
JIT mode is typically not recommended outside of testing scenarios.
That's what I feared, although I was hoping the answer would be something different since we're stuck with JIT for the foreseeable future... 😅
Thanks for the explanation.
On a related note: A warning message or some kind of log would probably help others in a similar situation. The only HMR-related message we're seeing is the one saying that it's enabled:
Component HMR has been enabled.
If you encounter application reload issues, you can manually reload the page to bypass HMR and/or disable this feature with the `--no-hmr`command line option.
Please consider reporting any issues you encounter here: https://github.com/angular/angular-cli/issues
Activity
clydin commentedon May 21, 2025
This is expected behavior. The build system requires knowledge of the Angular components within the application to be able to send partial updates of individual components. With JIT mode, Angular components are compiled in the browser and the build system only sees TypeScript code.
JIT mode is typically not recommended outside of testing scenarios.
anhallbe commentedon May 21, 2025
That's what I feared, although I was hoping the answer would be something different since we're stuck with JIT for the foreseeable future... 😅
Thanks for the explanation.
On a related note: A warning message or some kind of log would probably help others in a similar situation. The only HMR-related message we're seeing is the one saying that it's enabled:
alan-agius4 commentedon May 21, 2025
Closed via #30362
angular-automatic-lock-bot commentedon Jun 21, 2025
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.