From 2b9317d4a52f1d8424dac5f44765821e5d7bbad6 Mon Sep 17 00:00:00 2001 From: Todor Totev Date: Wed, 2 Dec 2015 18:09:14 +0200 Subject: [PATCH] Timestamps for fast LiveSync See https://github.com/NativeScript/nativescript-cli/issues/1263 --- lib/services/usb-livesync-service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/services/usb-livesync-service.ts b/lib/services/usb-livesync-service.ts index 299920d45a..13eb2a3ce5 100644 --- a/lib/services/usb-livesync-service.ts +++ b/lib/services/usb-livesync-service.ts @@ -9,6 +9,7 @@ import * as semver from "semver"; import * as net from "net"; import Future = require("fibers/future"); import * as helpers from "../common/helpers"; +import * as moment from "moment"; export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncServiceBase implements IUsbLiveSyncService { @@ -149,7 +150,7 @@ export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncSer }); } - this.$logger.info(`Successfully synced application ${this.$projectData.projectId}.`); + this.$logger.info(`Successfully synced application ${this.$projectData.projectId} at ${moment().format("ll LTS")}.`); }).future()(); }); };