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
I was just about to open an issue, but I think this is related - i'm getting issues when running with the --inspect flag. Stopping and starting a process throws Starting inspector on 127.0.0.1:9229 failed: address already in use - presumably because the inspector is a child process which hasn't been stopped?
Closing with #536. Pushing people toward node -r ts-node/register for advanced usage since there's been a bunch of drawbacks with both approaches I've taken for supporting node.js flags natively.
Whilst issue #457 has been fixed on
ts-node@4.1.x
, the behaviour is still wrong when using child processes. (cluster module)I've updated my sample project to demonstrate the issue here: https://github.com/endel/ts-node-graceful-shutdown-issue
ts-node
behaviour:SIGINT can be catched only for the master process.
node
behaviour:SIGINT can be catched for master and child process.
Related pull request: #419
The text was updated successfully, but these errors were encountered: