A livesync callback that will be called instead of the original livesync. It gives the HMR a hook to apply the module replacement.
A factory function that returns either Module type or NgModuleFactory type. This needs to be a factory function as the types will change when modules are replaced.
Options to be passed when HMR is enabled