#is there a way to print colored output to stdout?

1 messages · Page 1 of 1 (latest)

ornate yarrow
#

I am trying to use watchexec with bun test to see live test results in my editor but I have not found a way to use colors on stdout within a script

coarse oar
#

this doesn't directly answer your question but

#

have you tried bun test --watch

grand pumice
#

try passing FORCE_COLOR=1 environment variable

ornate yarrow
ornate yarrow