green OPEN message

nuxt branding
This commit is contained in:
Pooya Parsa 2017-08-05 23:25:18 +04:30
parent ea33d83c2e
commit c5578f8822
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export default class Nuxt extends Tapable {
// Show Open URL
let _host = host === '0.0.0.0' ? 'localhost' : host
// eslint-disable-next-line no-console
console.log('\n' + chalk.bold(chalk.bgBlue.black(' OPEN ') + chalk.blue(` http://${_host}:${port}\n`)))
console.log('\n' + chalk.bold(chalk.bgGreen.white(' OPEN ') + chalk.green(` http://${_host}:${port}\n`)))
// Close server on nuxt close
this.plugin('close', () => new Promise((resolve, reject) => {