nxtep-io / ts-framework-cli

Command line interface for the TS Framework.
https://nxtep-io.github.io/ts-framework-cli
MIT License
1 stars 0 forks source link

CLI does not exit on `process.exit` #5

Open rangelfinal opened 5 years ago

rangelfinal commented 5 years ago

If the server exists using a process.exit call, the CLI hangs forever.
No logs are shown during or after the process.exit call.

luiseduardobrito commented 5 years ago

This may be related to problems in the ts-framework unmount lifecycle, which was fixed by ts-framework#33. The unmount always closed process with 1 as result code with a timeout as default. This broke some projects unit testing.