unjs / consola

🐨 Elegant Console Logger for Node.js and Browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

consola + cross-env doesn't output right

tjx666 opened this issue · comments

import consola from 'consola';

consola.success('666')
cross-env NODE_ENV=test ts-node consola.ts

image

Testing last version, cross-env does not makes issues and Fancy reporter works. But please note that setting NODE_ENV to test causes less verbose logs. And also if TTY is not available, basic reporter will be used.

Feel free to open a new issue if you feel consola v3 behavior could be better.