Initially I tried to set raw mode using tty.setRawMode(true)
the log told me that was deprecated and I should be using process.stdin.setRawMode(true)
but that command is giving me TypeError: Object #<Socket> has no method 'setRawMode'
I cant seem to find much else in the way of raw mode documentation that suggests any other apporoaches anyone know how to get this working?
I am using version 0.10.25
So it turns out nodemon uses child_process, because of this writing
process.stdin.setRawMode(true);
in a script that you then run with nodemon will result inTypeError: Object #<Socket> has no method 'setRawMode'
.