thlorenz / replpad

Pipes content of files to a node repl whenever they change to enable a highly interactive coding experience.
http://thlorenz.github.com/replpad/
MIT License
213 stars 19 forks source link

Errors on Node 0.11 #10

Closed benrhughes closed 10 years ago

benrhughes commented 10 years ago

Of course this isn't technically a bug given 0.11 is 'unstable', but I thought you might want to know about it.

pad > /usr/local/lib/node_modules/replpad/lib/builtins/commands.js:18 repl.commands['.clear'].help = 'Break, and also clear the local context'; ^ TypeError: Cannot set property 'help' of undefined at commands (/usr/local/lib/node_modules/replpad/lib/builtins/commands.js:18:32) at initPlugins (/usr/local/lib/node_modules/replpad/lib/builtins/init.js:16:3) at boot (/usr/local/lib/node_modules/replpad/repreprep.js:48:3) at EventEmitter. (/usr/local/lib/node_modules/replpad/repreprep.js:90:5) at EventEmitter.emit (events.js:107:17) at onWatcherInitialized (/usr/local/lib/node_modules/replpad/lib/watcher-init.js:47:17) at Stream. (/usr/local/lib/node_modules/replpad/lib/watcher.js:86:21) at Stream.EventEmitter.emit (events.js:104:17) at done (/usr/local/lib/node_modules/replpad/node_modules/readdirp/stream-api.js:53:12) at /usr/local/lib/node_modules/replpad/node_modules/readdirp/readdirp.js:268:9

thlorenz commented 10 years ago

Thanks for mentioning this we need to definitely track that, so I'll leave this issue open We'll have to deal with this once 0.12 hits at the latest. 0.11 is seeing a lot of changes lately, so for now I'll not worry about it to avoid trying to hit a moving target.

thlorenz commented 10 years ago

Fixed in 0.11.9