We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f0562a commit 79e61f0Copy full SHA for 79e61f0
lib/monitor/run.js
@@ -260,7 +260,12 @@ function run(options) {
260
child.stdin.on('error', () => { });
261
process.stdin.pipe(child.stdin);
262
} else {
263
- child.stdout.pipe(process.stdout);
+ if (child.stdout) {
264
+ child.stdout.pipe(process.stdout);
265
+ } else {
266
+ utils.log.error(`running an unsupported version of node ${process.version}`);
267
+ utils.log.error('nodemon may not work as expected - please consider upgrading to LTS');
268
+ }
269
}
270
271
bus.once('exit', function () {
0 commit comments