1 Commits
Author SHA1 Message Date
6cc76f214a fix: signal handling (#227)
Signals should delegate to the child process to determine what to
do as cross-env is a facade to spawning them cross platform.

SIGINT, in particular, can decide swallow the signal and continue on.

cross-env needs to wait for the child to decide when it's time to exit.

fixed leaking `process.on` listeners.

Co-authored-by: Kent C. Dodds <[email protected]>
2020-03-03 11:35:18 -07:00