This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Commit 87f6f19
authored
fix-next(Angular): HMR for lazy loaded NgModules (#759)
* fix-next(Angular): HMR for lazy loaded NgModules
Currently, the `lazy-ngmodule-hot-loader` [adds](6a9db32) a HMR self-accept to every lazy loaded NgModule during build.
After [alignment](fe4abfb) of the HMR lifecycle of NativeScript Angular with non-Angular applications, it requires a handler to update the app after module replacement.
* refactor: minor tweaks
* Apply suggestions from code review
Co-Authored-By: vchimev <vasil.chimev@gmail.com>1 parent 0c35c8b commit 87f6f19
1 file changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
5 | 18 | | |
6 | 19 | | |
7 | 20 | | |
| |||
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
15 | | - | |
| 28 | + | |
16 | 29 | | |
17 | 30 | | |
0 commit comments