From 289c6f221407cb3d53eaa885ab1673b3e7eba9af Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sun, 18 Jun 2017 22:23:01 +0430 Subject: [PATCH] chalk OPEN color --- lib/core/server.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/core/server.js b/lib/core/server.js index e5f00f7eec..00cdeff0fc 100644 --- a/lib/core/server.js +++ b/lib/core/server.js @@ -1,7 +1,7 @@ -import http from 'http' -import connect from 'connect' -import path from 'path' -import chalk from 'chalk' +import http from "http"; +import connect from "connect"; +import path from "path"; +import chalk from "chalk"; class Server { constructor (nuxt) { @@ -70,7 +70,7 @@ class Server { this.server.listen(port, host, () => { let _host = host === '0.0.0.0' ? 'localhost' : host // eslint-disable-next-line no-console - console.log('\n' + chalk.bold(chalk.bgBlue.white(' OPEN ') + chalk.blue(` http://${_host}:${port}\n`))) + console.log('\n' + chalk.bold(chalk.bgBlue.black(' OPEN ') + chalk.blue(` http://${_host}:${port}\n`))) }) }) .catch(this.nuxt.errorHandler)