Permalink
Browse files

[fix] tty.setRawMode(mode) was moved to tty.ReadStream#setRawMode() (…

…i.e. process.stdin.setRawMode())
  • Loading branch information...
1 parent 315a45c commit 9e005d28601614c2e27b2bc3fb3ebda27ebe296a @blakmatrix blakmatrix committed Jul 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cli/commands/watch.js
@@ -28,7 +28,7 @@ module.exports = function(server, port) {
if (tty.isatty(0)) {
process.stdin.resume();
- tty.setRawMode(true);
+ process.stdin.setRawMode(true);
process.stdin.on('data', function(b) {
var key = b.toString('utf8');
switch (key) {

0 comments on commit 9e005d2

Please sign in to comment.