Browse Source

now-deploy: add "initializing" message

master
Guillermo Rauch 9 years ago
parent
commit
5a17da1e04
  1. 3
      bin/now-deploy

3
bin/now-deploy

@ -161,6 +161,7 @@ async function sync (token) {
const complete = () => { const complete = () => {
const elapsed_u = ms(new Date() - start_u); const elapsed_u = ms(new Date() - start_u);
console.log(`> Sync complete (${bytes(now.syncAmount)}) [${elapsed_u}] `); console.log(`> Sync complete (${bytes(now.syncAmount)}) [${elapsed_u}] `);
console.log('> Initializing…');
// close http2 agent // close http2 agent
now.close(); now.close();
@ -195,7 +196,7 @@ async function sync (token) {
process.exit(1); process.exit(1);
}); });
} else { } else {
console.log('> Sync complete (cached)'); console.log(`> Initializing…`);
// close http2 agent // close http2 agent
now.close(); now.close();

Loading…
Cancel
Save