diff --git a/packages/server/src/listener.js b/packages/server/src/listener.js index 5dbd8c7b8b..664de11b1c 100644 --- a/packages/server/src/listener.js +++ b/packages/server/src/listener.js @@ -72,7 +72,7 @@ export default class Listener { } async serverErrorHandler(e) { - if(e.code === 'EADDRINUSE') { + if (e.code === 'EADDRINUSE') { consola.warn(`Address \`${this.host}:${this.port}\` is already in use.`) this._server.close()