diff options
author | 2023-02-12 13:37:28 +0100 | |
---|---|---|
committer | 2023-02-12 04:37:28 -0800 | |
commit | cc214baacf93c4cf4b16cb23d46b465536417614 (patch) | |
tree | 358aa39e9c19bd65b2e7862b35134ef455eed894 /src | |
parent | 83473c60df3b7ff4c2326573aa8532b636de4b4e (diff) | |
download | bun-cc214baacf93c4cf4b16cb23d46b465536417614.tar.gz bun-cc214baacf93c4cf4b16cb23d46b465536417614.tar.zst bun-cc214baacf93c4cf4b16cb23d46b465536417614.zip |
Return server on listen (#2057)
Diffstat (limited to 'src')
-rw-r--r-- | src/bun.js/http.exports.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bun.js/http.exports.js b/src/bun.js/http.exports.js index 00e2c2dc9..59e2d3483 100644 --- a/src/bun.js/http.exports.js +++ b/src/bun.js/http.exports.js @@ -289,6 +289,8 @@ export class Server extends EventEmitter { } this.emit("error", err); } + + return this; } } |