From 2b9b1606a01eb247a047b3c95a68e1ff337e753a Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Fri, 1 Apr 2016 11:49:36 -0700 Subject: [PATCH] fix closing of process --- bin/now | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/now b/bin/now index 5f53bf9..4ae9796 100755 --- a/bin/now +++ b/bin/now @@ -154,12 +154,14 @@ async function sync (token) { } else { console.log('> Sync complete (cached)'); + now.close(); + if (force) { // show build logs printLogs(now.host); + } else { + exit(0); } - - now.close(); } }