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
I developed a reporter for karma (https://github.com/litixsoft/karma-mocha-reporter) and have the issue that when the option background is true, the output of my reporter is not colored in the console.
I looked at you code and see that you do not set the stdio option for the node child process. This means the default is used (pipe). I set the option to stdio: 'inherit'and now the output of my reporter is colored.
But now i have the effect that the onSpecComplete or onRunComplete events are fired twice and i have duplicate output. Do you have any idea why this is happening.
I developed a reporter for karma (https://github.com/litixsoft/karma-mocha-reporter) and have the issue that when the option
background
is true, the output of my reporter is not colored in the console.I looked at you code and see that you do not set the
stdio
option for the node child process. This means the default is used (pipe
). I set the option tostdio: 'inherit'
and now the output of my reporter is colored.But now i have the effect that the onSpecComplete or onRunComplete events are fired twice and i have duplicate output. Do you have any idea why this is happening.
Here the code i changed:
Btw, the progress reporter which is bundled in karma has a colored output even without the
stdio
option set.Thanks.
The text was updated successfully, but these errors were encountered: