mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix style
This commit is contained in:
parent
22a4f60bde
commit
770347adb9
@ -72,7 +72,7 @@ export default class Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async serverErrorHandler(e) {
|
async serverErrorHandler(e) {
|
||||||
if(e.code === 'EADDRINUSE') {
|
if (e.code === 'EADDRINUSE') {
|
||||||
consola.warn(`Address \`${this.host}:${this.port}\` is already in use.`)
|
consola.warn(`Address \`${this.host}:${this.port}\` is already in use.`)
|
||||||
|
|
||||||
this._server.close()
|
this._server.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user