tapjs / foreground-child

Run a child as if it's the foreground process. Give it stdio. Exit when it exits.
http://tapjs.github.io/foreground-child/
ISC License
40 stars 14 forks source link

it would be useful to have a beforeExit event, for the parent process. #2

Closed bcoe closed 9 years ago

bcoe commented 9 years ago

It would be useful to be able to have an asynchronous beforeExit event that the parent process can hook into.

@Raynos has requested that nyc combine the reporting and instrumenting step, which I agree is a nice simplification, to do this I would need to be able to execute the reporter when foreground-child exits.