When stdout is not a terminal, mdv doesn't output color codes, causing watch to not output color. (despite it being ran with --color/-c).
e.g. :
watch --color -n 3 'mdv -t 960.847 test.md' will result in watch's output being colorless, whereas just running the same mdv command inside the shell normally causes it to produce colored output.
Running latest
mdv
on latest stablepython3
.When stdout is not a terminal,
mdv
doesn't output color codes, causingwatch
to not output color. (despite it being ran with--color/-c
).e.g. :
watch --color -n 3 'mdv -t 960.847 test.md'
will result inwatch
's output being colorless, whereas just running the samemdv
command inside the shell normally causes it to produce colored output.