Skip to content

Commit 6d0de3d

Browse files
committed
chokidar-socket-emitter doesn't expect any data for package.json emit
1 parent e981f35 commit 6d0de3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hot-reloader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class HotReloader extends Emitter {
3434
this.socket.on('connect', () => {
3535
d('hot reload connected to watcher on ', backendUrl)
3636
this.socket.emit('identification', navigator.userAgent)
37-
this.socket.emit('package.json', null, function (pjson) {
37+
this.socket.emit('package.json', function (pjson) {
3838
// self.pjson = pjson // maybe needed in the future?
3939
self.jspmConfigFile = pjson.jspm.configFile || 'config.js'
4040
})

0 commit comments

Comments
 (0)