Skip to content

Commit e097727

Browse files
author
kamil.mysliwiec
committed
Hotfix
1 parent 867ca4f commit e097727

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

example/app.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ export class Application implements NestApplication {
55
constructor(private expressApp) {}
66

77
start() {
8-
this.expressApp.listen(3030, () => {
8+
const server = this.expressApp.listen(3030, () => {
99
console.log('Application listen on port:', 3030);
10+
server.close();
1011
});
1112
}
1213

0 commit comments

Comments
 (0)