listen on rootFolderChanged
@ -58,7 +58,7 @@
"remix-solidity": "0.3.15",
"remix-tabs": "1.0.48",
"remix-tests": "0.1.18",
"remixd": "0.1.8-alpha.7",
"remixd": "0.1.8-alpha.10",
"request": "^2.83.0",
"rimraf": "^2.6.1",
"selenium-standalone": "^6.0.1",
@ -77,7 +77,7 @@
"dependencies": {
"@remixproject/engine": "^0.1.16",
"http-server": "^0.11.1",
"standard": "^8.5.0"
},
"repository": {
@ -42,6 +42,9 @@ module.exports = class RemixDProvider {
this.event.trigger('fileExternallyChanged', [path, content])
}
})
} else if (data.name === 'rootFolderChanged') {
// new path has been set, we should reset
this.event.trigger('folderAdded', [this.type + '/'])