Skip to content

Commit abc138f

Browse files
garthkremy
authored andcommitted
fix: help truncation on node 6.2 (#842) (#843)
1 parent f6eff97 commit abc138f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/nodemon.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ function nodemon(settings) {
3737
}
3838

3939
if (settings.help) {
40+
process.stdout._handle.setBlocking(true); // nodejs/node#6456
4041
console.log(help(settings.help));
4142
if (!config.required) {
4243
process.exit(0);

0 commit comments

Comments
 (0)