Nuxt/test
Ricardo Gobbo de Souza 1d78027e2b fix: offer a new port and listen if already used, use consola on server error (#4428)
* Use consola on server error

* fix style

* ignore coverage

* use `consola.error(e)`

* formatting server error

* fix style

* offer a new port and listen

* fix style

* simplify return

* Revert "fix style"

This reverts commit 770347adb9.

* Revert "simplify return"

This reverts commit 26f2588b2f.

* simplified tests

* remove dependency `get-port`

* using port `0` to assign a random free port

* update `this.port` value with `address.port`

* For production, use `consola.fatal`

* pass options.dev from server to listener constructor

* add dev on constructor

* improve serverErrorHandler and close

* Update listener.js

* improve serverErrorHandler

* improve the way to handle listen errors

* fix missed line

* fully close old server before listening on a random port

* update listen.test
2018-11-30 16:32:15 +01:00
..
e2e refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
fixtures feat: allow lang="postcss" in Vue SFCs (#4417) 2018-11-30 16:23:44 +01:00
types feat(ts): provide type definitions (#4164) 2018-11-17 14:22:21 +03:30
unit fix: offer a new port and listen if already used, use consola on server error (#4428) 2018-11-30 16:32:15 +01:00
utils refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30