doowb / watch-cli

Watch files and execute an npm script when files change.
MIT License
60 stars 10 forks source link

maintain color in output #6

Closed laurelnaiad closed 7 years ago

laurelnaiad commented 7 years ago

Use support-color package to determine whether the calling environment supports color. If it does, FORCE_COLOR in the child_processes.

Closes #5

doowb commented 7 years ago

Thanks for the PR! I'll get this published soon.

jsepia commented 7 years ago

For what it's worth, this works great with nyc and mocha under watch-cli.

Can you please publish this?

doowb commented 7 years ago

Thanks for the reminder! I published as 0.2.2 to get this out.

I'll probably publish a new version after doing some cleanup and updating to the conventions I use now.

jsepia commented 7 years ago

Thanks!