Fix small typos

This commit is contained in:
Sébastien Chopin 2017-06-18 19:32:59 +02:00
parent 51e603308a
commit 840a6cfe00
3 changed files with 4 additions and 4 deletions

View File

@ -14,9 +14,9 @@ process.noDeprecation = true
// Require Core
const Core = require('./dist/core.js')
Object.assign(exports, Core.default || Core)
Object.assign(exports, Core)
// Require Builder
// TODO: conditionally do this when builder available
const Builder = require('./dist/builder.js')
Object.assign(exports, Builder.default || Builder)
Object.assign(exports, Builder)

View File

@ -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.black(' OPEN ') + chalk.blue(` http://${_host}:${port}\n`)))
console.log('\n' + chalk.bold(chalk.bgBlue.white(' OPEN ') + chalk.blue(` http://${_host}:${port}\n`)))
})
})
.catch(this.nuxt.errorHandler)