views:

42

answers:

2

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?

A: 

From watch manual:

Non-printing characters are stripped from program output. Use "cat -v" as part of the command pipeline if you want to see them.

Though, I am not sure how to use it.

Benoit
+1  A: 

Watch does not work with color output.

Related.

Dennis Williamson