Skip to content

Instantly share code, notes, and snippets.

@simonexmachina
Created January 28, 2014 22:21
Show Gist options
  • Save simonexmachina/8677808 to your computer and use it in GitHub Desktop.
Save simonexmachina/8677808 to your computer and use it in GitHub Desktop.
Demonstration of nodemon's tty.isatty issue
var debug = require('debug')('foo');
debug('bar');
{
"dependencies": {
"debug": "~0.7.4"
}
}
@simonexmachina
Copy link
Author

Run this using node and you'll see coloured output, run it with nodemon and you get ugly log output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment