Unverified Commit d3646580 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2353 from ethereum/yann300-patch-79

listen on rootFolderChanged
parents c206f280 73ccea77
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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",
"remixd": "0.1.8-alpha.7",
"remixd": "0.1.8-alpha.10",
"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 + '/'])
}
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment