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

Listen to child process and log it #727

Closed
shaije opened this issue Jan 13, 2021 · 2 comments
Closed

Listen to child process and log it #727

shaije opened this issue Jan 13, 2021 · 2 comments

Comments

@shaije
Copy link

shaije commented Jan 13, 2021

Hi,
i am using before:bump hook with script that logs messages to terminal.
to be clear i am using jest testing platform inside before:bump hook.
i saw you are using the shelljs package, the problem is the logs of jest tests are logged only in the end of the process, instead of continuously logging to bash.
what is needed it to listen to data on child process and log it (i added image with the changes i made).

image

i am using release-it version 14.0.3 on ubuntu

it would be great if someone of the contributors will update it on the next version

Thank you!

@webpro
Copy link
Collaborator

webpro commented Jan 17, 2021

Thanks for your suggestion, @shaije. I will look into this.

@webpro
Copy link
Collaborator

webpro commented Jan 24, 2021

I've released this as release-it@next (14.3.0-next.1), please let me know how it works for you if you have a chance.

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

Successfully merging a pull request may close this issue.

2 participants