You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when we have an async beforeApplicationShutdown that takes too long to resolve, nest start --watch doesn't kill all the processes properly after file changes, which leads to an EADDRINUSE: address already in use error
Is there an existing issue for this?
Current behavior
when we have an async
beforeApplicationShutdownthat takes too long to resolve,nest start --watchdoesn't kill all the processes properly after file changes, which leads to anEADDRINUSE: address already in useerrorissue_demo.mp4
Minimum reproduction code
https://gitlab.com/micalevisk/nestjs-cli-issue-1614
Steps to reproduce
git clone https://gitlab.com/micalevisk/nestjs-cli-issue-1614 cd nestjs-cli-issue-1614npm cinpm run start:devExpected behavior
nestjs CLI should kill all processes before restarting the app
Package version
8.2.x
9.2.x - using
forceCloseConnections: truedoesn't fixes this10.0.3
NestJS version
8.4.x
9.3.x
10.0.3
Node.js version
16.14.2
In which operating systems have you tested?