Open mike-packetwerk opened 7 years ago
Im having the exact problem. This is breaking on iOS9 and some Android devices, while the Github content don't break when I copy them over. for now Im going to patch this manually until a new release goes out.
This line doesn't fire:
document.addEventListener('DOMContentLoaded', main);
While this works:
document.addEventListener('DOMContentLoaded', () => main());
Inside 1.2.2 https://registry.npmjs.org/@angularclass/hmr/-/hmr-1.2.2.tgz src/helpers.ts
On github: https://github.com/AngularClass/angular2-hmr/blob/master/src/helpers.ts#L1
Looks like the packaging system is broken?