Skip to content

Commit

Permalink
fix: help truncation on node 6.2 (remy#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
garthk committed Jun 2, 2016
1 parent 90a8e6a commit 871a446
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/nodemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function nodemon(settings) {
}

if (settings.help) {
process.stdout._handle.setBlocking(true); // nodejs/node#6456

This comment has been minimized.

Copy link
@remy

remy Jun 6, 2016

How does this fair on versions of node < 6?

console.log(help(settings.help));
if (!config.required) {
process.exit(0);
Expand Down

0 comments on commit 871a446

Please sign in to comment.