mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
fix(server): return listener when calling listen()
This commit is contained in:
parent
bacc40b8ec
commit
668db6fbbb
@ -245,6 +245,8 @@ export default class Server {
|
||||
this.listeners.push(listener)
|
||||
|
||||
await this.nuxt.callHook('listen', listener.server, listener)
|
||||
|
||||
return listener
|
||||
}
|
||||
|
||||
async close() {
|
||||
|
Loading…
Reference in New Issue
Block a user