remy / nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development
http://nodemon.io/
MIT License
26.23k stars 1.72k forks source link

Nodemon reading from stdin clashes with executed app. #2050

Closed richburdon closed 2 years ago

richburdon commented 2 years ago

Expected behaviour

Executed program (custom CLI using ink) can consume stdin. It would be useful to have a command line flag to prevent nodemon from reading from stdin.

Actual behaviour

 ERROR  Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
        Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported

Steps to reproduce

N/A


If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.

remy commented 2 years ago

You mean it would be nice to have this feature? https://github.com/remy/nodemon/blob/main/doc/cli/options.txt#L16

Yep, way ahead of you...