We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 867ca4f commit e097727Copy full SHA for e097727
1 file changed
example/app.ts
@@ -5,8 +5,9 @@ export class Application implements NestApplication {
5
constructor(private expressApp) {}
6
7
start() {
8
- this.expressApp.listen(3030, () => {
+ const server = this.expressApp.listen(3030, () => {
9
console.log('Application listen on port:', 3030);
10
+ server.close();
11
});
12
}
13
0 commit comments