🐞 bug report
Affected Package
@angular/upgrade
Is this a regression?
No, afaik.
Description
When using UpgradeModule.bootstrap() to run AngularJS/Angular apps in hybrid mode, changes to the app after starting the devserver using ng server --hmr result in this error:
Error: [ng:btstrpd] App already bootstrapped with this element
🔬 Minimal Reproduction
https://stackblitz.com/edit/angular-5qna3t?file=src/app/app.module.ajs.ts
Changing the template in the file above will throw an error in console.
🔥 Exception or Error
Error: [ng:btstrpd] App already bootstrapped with this element
🌍 Your Environment
Angular Version:
Anything else relevant?
🐞 bug report
Affected Package
@angular/upgrade
Is this a regression?
No, afaik.
Description
When using UpgradeModule.bootstrap() to run AngularJS/Angular apps in hybrid mode, changes to the app after starting the devserver using
ng server --hmrresult in this error:🔬 Minimal Reproduction
https://stackblitz.com/edit/angular-5qna3t?file=src/app/app.module.ajs.ts
Changing the template in the file above will throw an error in console.
🔥 Exception or Error
🌍 Your Environment
Angular Version:
Anything else relevant?