only-changed-jest-watch-plugin
Version:
Jest watch plugin for running either only the modified test (for TDD), or tests of dependant modules
15 lines (9 loc) • 708 B
Markdown
# capture-exit
[](https://ci.appveyor.com/project/embercli/capture-exit/branch/master)
[](https://travis-ci.org/ember-cli/capture-exit)
Allow cooprative async exit handlers, we unfortunately must hijack
process.exit.
It allows a handler to ensure exit, without that exit handler impeding other
similar handlers
for example, see: [sindresorhus/ora#27](https://github.com/sindresorhus/ora/issues/27)
Differences between `process.on('exit')` and `captureExit.onExit(...)` => https://github.com/ember-cli/capture-exit/issues/12