Skip to content

Commit a9712e0

Browse files
ADjenkovADjenkov
ADjenkov
authored and
ADjenkov
committed
chore(livesync): make livesync method public
1 parent 6ab1cac commit a9712e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: nativescript-angular/platform-common.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class NativeScriptPlatformRef extends PlatformRef {
119119
@profile
120120
private bootstrapApp() {
121121
(<any>global).__onLiveSyncCore = () => {
122-
this.livesync();
122+
this._livesync();
123123
};
124124

125125
if (this.appOptions && typeof this.appOptions.cssFile === "string") {
@@ -210,7 +210,7 @@ export class NativeScriptPlatformRef extends PlatformRef {
210210
}
211211

212212
@profile
213-
private livesync() {
213+
public _livesync() {
214214
bootstrapLog("Angular livesync started.");
215215
onBeforeLivesync.next(lastBootstrappedModule ? lastBootstrappedModule.get() : null);
216216

0 commit comments

Comments
 (0)