capaj/chokidar-socket-emitter

When chokidar-socket-emitter running via npm it fails

Closed this issue · 1 comments

Missing error handler on socket.
TypeError: fn is not a function
at Socket. (/Volumes/HDD/Projects/angular2/crack/node_modules/chokidar-socket-emitter/server.js:62:7)

I belive that correct will be

socket.on('package.json', function (fn) {
      fn(pjson)
    })
capaj commented

@sokolovstas you were using old version of systemjs-hot-reloader. See my earlier comment: #14 (comment)

Sorry that I did not get to this sooner.