Merge pull request #1706 from spotify/shmidt-i/fix-hmr-catalog
fix(catalog): hmr in dev mode got incorrect module ref
This commit is contained in:
@@ -45,9 +45,9 @@ export class ServiceBuilderImpl implements ServiceBuilder {
|
||||
// reloading
|
||||
private module: NodeModule;
|
||||
|
||||
constructor(module: NodeModule) {
|
||||
constructor(moduleRef: NodeModule) {
|
||||
this.routers = [];
|
||||
this.module = module;
|
||||
this.module = moduleRef;
|
||||
}
|
||||
|
||||
loadConfig(config: ConfigReader): ServiceBuilder {
|
||||
|
||||
Reference in New Issue
Block a user