From 871a446484a7aeaf333b3c2a840d8f217018af7e Mon Sep 17 00:00:00 2001 From: Garth Kidd Date: Fri, 3 Jun 2016 09:38:25 +1000 Subject: [PATCH] fix: help truncation on node 6.2 (#842) --- lib/nodemon.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nodemon.js b/lib/nodemon.js index d6e615d2..92982321 100644 --- a/lib/nodemon.js +++ b/lib/nodemon.js @@ -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);