baryon/tracer

Console color not working while using worker thread

Open

#135 aperta il 11 set 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (124 fork)batch import
help wanted

Metriche repository

Star
 (1137 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hello

We are using this library along with serverless framework for a long time but ever since we upgraded the serverless-offline framework to the latest version, we started noticing that the console is logging any colors. So I created a ticket in serverless-offline and upon further investigation, they said that it is due the code being run in the worker thread. Just want to point out there if that is something you can fix in this library. I noticed that you use color package and here is what one of the ticket says about the forked process.

Link to the serverless -offline ticket : https://github.com/dherault/serverless-offline/issues/1570

Link to colors ticket : https://github.com/Marak/colors.js/issues/253

Thanks in advance.

Guida contributor