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
Pass `hmr` specific options on application bootstrap. The hmr options are:
- `moduleTypeFactory?: () => Type<any> | NgModuleFactory<any>;` A module factory for re-instantiating the bootstrap module or module-factory on livesync.
- `livesyncCallback: (bootstrapPlatfrom: () => void) => void;` A `livesync` callback that will be called instead of the original livesync. It gives the `hmr` a hook to apply the module replacement. The callback also accepts `bootstrapPlatfrom` function which triggers bootstrap of the angular app with the existing platform using the `moduleTypeFactory` to get module/module-factory to be used.
* A livesync callback that will be called instead of the original livesync.
67
+
* It gives the HMR a hook to apply the module replacement.
68
+
* @param bootstrapPlatform - A bootstrap callback to be called after HMR is done. It will bootstrap a new angular app within the exisiting platform, using the moduleTypeFactory to get the Module or NgModuleFactory to be used.
0 commit comments