Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node stdout/stderr buffer flushing is still a problem. Wait for console.log to complete before exit #34

Open
dec0dOS opened this issue Sep 6, 2023 · 0 comments

Comments

@dec0dOS
Copy link

dec0dOS commented Sep 6, 2023

Hello! Thanks for your awesome projects. They provide really good workarounds for current JS ecosystem strange problems.

I've faced an issue with flushing the stdout/stderr buffers before the exit.
Seems to be that is the root problem.

Some hacks like in https://github.com/cowboy/node-exit/blob/master/lib/exit.js is still required in modern node (v20.4.0).

My proposal is to integrate the exit.js solution in exit-hook, as it's not possible to use these modules together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant