diff --git a/package.json b/package.json index 722ce7014d..08c9ec1e29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "remixd", - "version": "0.1.8-alpha.9", + "version": "0.1.8-alpha.10", "description": "remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)", "main": "./src/index.js", "bin": { diff --git a/src/services/sharedFolder.js b/src/services/sharedFolder.js index c76cdb2201..0cbaaac281 100644 --- a/src/services/sharedFolder.js +++ b/src/services/sharedFolder.js @@ -15,7 +15,7 @@ module.exports = { sharedFolder: function (sharedFolder, readOnly) { this.sharedFolder = sharedFolder this.readOnly = readOnly - if (this.websocket) this.websocket.send(message('rootFolderChanged', {})) + if (this.websocket.connection) this.websocket.send(message('rootFolderChanged', {})) }, list: function (args, cb) {