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
#17553 re-introduced support for waitUntilTargets after it had been accidentally removed in #17524. However, nx serve is now no longer correctly handling SIGTERM events. When CTRL-C-ing out of the process, it prints
NX Process exited with code null, waiting for changes to restart...
and returns to the console, but the process does not terminate, as is evident by re-running nx serve (fails with an EADDRINUSE error).
Expected Behavior
Cancelling nx serve should terminate the watch process and all spawned children.
GitHub Repo
No response
Steps to Reproduce
create a new workspace and demo app with the nest preset
add a trivial waitUntilTarget using the nx:run-commands executor, e.g.
chromey
changed the title
@nx/js:node: serve process does not terminate if waitUntilTargets are specified
@nx/js:node: serve does not terminate if waitUntilTargets are specified
Jul 22, 2023
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
Current Behavior
#17553 re-introduced support for
waitUntilTargets
after it had been accidentally removed in #17524. However,nx serve
is now no longer correctly handling SIGTERM events. When CTRL-C-ing out of the process, it printsand returns to the console, but the process does not terminate, as is evident by re-running
nx serve
(fails with anEADDRINUSE
error).Expected Behavior
Cancelling
nx serve
should terminate the watch process and all spawned children.GitHub Repo
No response
Steps to Reproduce
waitUntilTarget
using thenx:run-commands
executor, e.g.nx serve
, then terminate the processnx serve
againNx Report
Failure Logs
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: