From c3e5147a19c55f365d2c8ba03df94d34cb99e080 Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Tue, 18 Jun 2019 10:32:14 +0100 Subject: [PATCH] Fix output of seperation newline during livepush Change-type: patch Signed-off-by: Cameron Diver --- lib/utils/device/deploy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/utils/device/deploy.ts b/lib/utils/device/deploy.ts index a6c3f01c..11032ee0 100644 --- a/lib/utils/device/deploy.ts +++ b/lib/utils/device/deploy.ts @@ -218,6 +218,8 @@ export async function deployToDevice(opts: DeviceDeployOptions): Promise { // so we can either just display the logs, or start a livepush session // (whilst also display logs) if (!opts.nolive) { + // Print a newline to clear seperate build time and runtime + console.log(); const livepush = new LivepushManager({ api, buildContext: opts.source, @@ -233,7 +235,6 @@ export async function deployToDevice(opts: DeviceDeployOptions): Promise { const promises: Array | Promise> = [livepush.init()]; // Only show logs if we're not detaching if (!opts.detached) { - console.log(); const logStream = await api.getLogStream(); globalLogger.logInfo('Streaming device logs...'); promises.push(