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
It seems like chalk turns supportsColors to false in forked processes for some reason. We can turn that back on by adding FORCE_COLORS as 1. There's an example in this issue for chalkchalk/chalk#381.
The only thing for us to consider is that we'll override that process.env after spawning the forked process with the actual environment.
The text was updated successfully, but these errors were encountered:
Alternatively, we could try passing the original stdin, stdout and stderr from the parent process. It looks like you can do that with the stdio option for fork.
It seems like
chalk
turnssupportsColors
tofalse
in forked processes for some reason. We can turn that back on by addingFORCE_COLORS
as1
. There's an example in this issue forchalk
chalk/chalk#381.The only thing for us to consider is that we'll override that
process.env
after spawning the forked process with the actual environment.The text was updated successfully, but these errors were encountered: