Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d320b2 commit ac0b55eCopy full SHA for ac0b55e
lib/nodemon.js
@@ -39,7 +39,9 @@ function nodemon(settings) {
39
}
40
41
if (settings.help) {
42
- process.stdout._handle.setBlocking(true); // nodejs/node#6456
+ if (process.stdout.isTTY) {
43
+ process.stdout._handle.setBlocking(true); // nodejs/node#6456
44
+ }
45
console.log(help(settings.help));
46
if (!config.required) {
47
process.exit(0);
0 commit comments