From a9712e0b16be6f5ec52d381af8b2c37d97e63a30 Mon Sep 17 00:00:00 2001 From: ADjenkov Date: Tue, 19 Jun 2018 15:14:00 +0300 Subject: [PATCH] chore(livesync): make livesync method public --- nativescript-angular/platform-common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nativescript-angular/platform-common.ts b/nativescript-angular/platform-common.ts index 7b0c04476..9aa9d0eaf 100644 --- a/nativescript-angular/platform-common.ts +++ b/nativescript-angular/platform-common.ts @@ -119,7 +119,7 @@ export class NativeScriptPlatformRef extends PlatformRef { @profile private bootstrapApp() { (global).__onLiveSyncCore = () => { - this.livesync(); + this._livesync(); }; if (this.appOptions && typeof this.appOptions.cssFile === "string") { @@ -210,7 +210,7 @@ export class NativeScriptPlatformRef extends PlatformRef { } @profile - private livesync() { + public _livesync() { bootstrapLog("Angular livesync started."); onBeforeLivesync.next(lastBootstrappedModule ? lastBootstrappedModule.get() : null);