aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/hmr.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/hmr.ts')
-rw-r--r--client/src/hmr.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/hmr.ts b/client/src/hmr.ts
index d5306a7a2..adfbca7d9 100644
--- a/client/src/hmr.ts
+++ b/client/src/hmr.ts
@@ -9,7 +9,7 @@ export const hmrBootstrap = (module: any, bootstrap: () => Promise<NgModuleRef<a
9 .then(mod => { 9 .then(mod => {
10 ngModule = mod 10 ngModule = mod
11 11
12 const applicationRef = ngModule.injector.get(ApplicationRef); 12 const applicationRef = ngModule.injector.get(ApplicationRef)
13 const componentRef = applicationRef.components[ 0 ] 13 const componentRef = applicationRef.components[ 0 ]
14 // allows to run `ng.profiler.timeChangeDetection();` 14 // allows to run `ng.profiler.timeChangeDetection();`
15 enableDebugTools(componentRef) 15 enableDebugTools(componentRef)