Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

tty.isatty returns false in the new version on nodemon #284

Closed
aexmachina opened this Issue · 6 comments

2 participants

@aexmachina

The debug module uses tty.isatty(2) to choose whether to print coloured output. In the 1.0 version of nodemon this returns false.

@remy
Owner
@aexmachina
@remy
Owner

Sorry, catching up on this old issue. When I use your gist as the example, I don't see any output (not with running node index.js either).

Am I missing something?

@remy remy added the needs more info label
@aexmachina

Ah yes, good point! You'd need to set the DEBUG environment variable: DEBUG=foo node index.js

@remy
Owner
@aexmachina

Yes, you're right. This is already fixed! Thanks Remy.

@aexmachina aexmachina closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.