You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typedoc has a known issue that it prints one byte (a single newline) to stderr even when successful (TypeStrong/typedoc#1566). If I run typedoc as part of my tasks with just, I can see that output:
[5:00:23 PM] ■ started 'build:types'
[5:00:30 PM] ■ finished 'build:types' in 6.77s
[5:00:30 PM] ■ started 'build:docs'
[5:00:39 PM] ■ finished 'build:docs' in 9.39s
[5:00:39 PM] ■ finished 'build' in 42.61s
I understand that just is probably printing stderr since something was written to it, which is reasonable. Unfortunately, several popular tools (Jest, typedoc, Storybook, etc) do this even when everything is successful. Maybe just should avoid printing stderr to the screen if the exit code of the task was 0?
The text was updated successfully, but these errors were encountered:
Basically, run the task while sending stderr to a black hole. If the task fails, run it again while preserving stderr, so that it bubbles up. Not ideal, since we have to run the task twice, but it works around the issue.
typedoc has a known issue that it prints one byte (a single newline) to stderr even when successful (TypeStrong/typedoc#1566). If I run typedoc as part of my tasks with just, I can see that output:
I understand that just is probably printing stderr since something was written to it, which is reasonable. Unfortunately, several popular tools (Jest, typedoc, Storybook, etc) do this even when everything is successful. Maybe just should avoid printing stderr to the screen if the exit code of the task was 0?
The text was updated successfully, but these errors were encountered: