Skip to content

Commit 3afa813

Browse files
authored
Merge pull request #1996 from NativeScript/raikov/fix-livesync-watch
Fixed: There is an exception when stopping livesync --watch
2 parents 3295421 + a001dec commit 3afa813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/livesync/livesync-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class LiveSyncService implements ILiveSyncService {
148148
});
149149
});
150150

151-
this.$processService.attachToProcessExitSignals(this, gazeWatcher.close);
151+
this.$processService.attachToProcessExitSignals(this, () => gazeWatcher.close());
152152
this.$dispatcher.run();
153153
}
154154
}

0 commit comments

Comments
 (0)