Netlify-cli / ntl dev - no colorized output witth Gatsby develop / build

Good day dear peoples at Netlify!

ntl dev seems to be without colorized output if run with Gatsby:

Is there a way around this? There don’t seem to be any posts about this so far, so might it be an issue limited to me personally? I think that I have had this issue with several different machines though.

Thank you and all the best!

Hi @User2,

I believe it’s intended to work that way. Colours (and other formatting) are usually not passed when copying the terminal output of some other application - basically what CLI is doing.

For example, here’s Vite with CLI:


Here’s Vite when running normally:


Notice how the colour of the text Vite v3.1.4 is lost.

If you think this is a bug, feel free to open an issue on the CLI GitHub repo.