Closed arcanis closed 4 years ago
Yeah, this issue caused a massive headache for me too. Our production web app relies on a SIGINT
handler to shut down (or reload) gracefully, which it started to not do after we've included this package.
edit: I just saw #233 . Guess it's soon going to not be an issue anymore.
Closed by #233
I'm using
tmp
in Yarn, but it causes problems where other SIGINT handlers aren't registered due totmp
overriding them with its own (I'm not entirely sure about the order of execution to be honest, but it's cleartmp
has a role into this).Why is
node-tmp
catching SIGINT in the first place rather than using thebeforeExit
handler?