Skip to content

Commit

Permalink
stop hanging after deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mstdokumaci committed Nov 30, 2016
1 parent 36d0c0a commit cf44723
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const registry = now.deployment(process.env.NOW_TOKEN)
})
.on('aliased', () => {
console.log('Alias successful!')
registry.set(null)
})
.on('error', error => {
console.error('Deployment failed due to error: %j, stack: %s', error, error ? error.stack : '(no stack)')
Expand Down

0 comments on commit cf44723

Please sign in to comment.