chore(cli): display listening urls after build (#6904)

closes #6899
This commit is contained in:
James George 2020-01-23 17:43:14 +05:30 committed by Pooya Parsa
parent 0487ac3c25
commit 3c4f9e4574

View File

@ -83,6 +83,11 @@ export default {
// Print memory usage
showMemoryUsage()
// Display server urls after the build
for (const listener of nuxt.server.listeners) {
consola.info(chalk.bold('Listening on: ') + listener.url)
}
// Return instance
return nuxt
},