Marak / colors.js

get colors in your node.js console
https://github.com/Marak/colors.js
Other
5.17k stars 446 forks source link

See colors with tail-f #207

Closed djcaesar9114 closed 6 years ago

djcaesar9114 commented 6 years ago

Hello, I use your package which works fine when I check the log directly in the console. But when I go on production, I put my logs in a file, and tail -f this file when I want to check what happens live. When I do this, I can't see colors. Is there a way to make me see colors when I write in a file? Thanks!

samuelbsource commented 6 years ago

How do you even expect to write colours to plain text file?

djcaesar9114 commented 6 years ago

That is indeed a good question. Sometimes I want to go back in time and slap myself in the face really hard.