Skip to content

Commit

Permalink
fix: help truncation on node 6.2 (#842) (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
garthk authored and remy committed Sep 4, 2017
1 parent f6eff97 commit abc138f
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
console.log(help(settings.help));
if (!config.required) {
process.exit(0);
Expand Down

0 comments on commit abc138f

Please sign in to comment.