never_had_a_name never_had_a_name - 6 months ago 17
Linux Question

Colors with unix command "watch"?

Some commands that I use display colors, but when I use them with watch the colors disappears:

watch -n 1 node file.js


Is it possible to have the colors back on somehow?

Answer

Some newer versions of watch now support color.

For example watch --color ls -ahl --color.

Related.