mirror of https://github.com/embarklabs/embark.git
fd09488e4b
This avoids mistakenly placing process event handlers on the parent process whenever the `embark-core` package is loaded. Also, don't listen for an `'exit'` event on `process` and then call `process.exit(0)` since the event "is emitted after the child process ends" ([docs][docs]), i.e. it's unnecessary to do so and in any case it's not correct to always exit with code `0`. [docs]: https://nodejs.org/docs/latest-v10.x/api/child_process.html#child_process_event_exit |
||
---|---|---|
.. | ||
src | ||
.npmrc | ||
README.md | ||
constants.json | ||
package.json | ||
tsconfig.json | ||
tslint.json |