To keep the api consistent with koa, the patched listen() function should return the created http server. It bite me today when I started to use koa-socket and all my test relying on getting a server instance from app.listen() stopped working. Will provide a PR in a bit.
To keep the api consistent with koa, the patched listen() function should return the created http server. It bite me today when I started to use koa-socket and all my test relying on getting a server instance from app.listen() stopped working. Will provide a PR in a bit.