xlisten on rootFolderChanged

pull/1/head
yann300 5 years ago
parent f57feeab4b
commit 73ccea777f
  1. 6452
      package-lock.json
  2. 4
      package.json
  3. 3
      src/app/files/remixDProvider.js

6452
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -58,7 +58,7 @@
"remix-solidity": "0.3.15", "remix-solidity": "0.3.15",
"remix-tabs": "1.0.48", "remix-tabs": "1.0.48",
"remix-tests": "0.1.18", "remix-tests": "0.1.18",
"remixd": "0.1.8-alpha.7", "remixd": "0.1.8-alpha.10",
"request": "^2.83.0", "request": "^2.83.0",
"rimraf": "^2.6.1", "rimraf": "^2.6.1",
"selenium-standalone": "^6.0.1", "selenium-standalone": "^6.0.1",
@ -77,7 +77,7 @@
"dependencies": { "dependencies": {
"@remixproject/engine": "^0.1.16", "@remixproject/engine": "^0.1.16",
"http-server": "^0.11.1", "http-server": "^0.11.1",
"remixd": "0.1.8-alpha.7", "remixd": "0.1.8-alpha.10",
"standard": "^8.5.0" "standard": "^8.5.0"
}, },
"repository": { "repository": {

@ -42,6 +42,9 @@ module.exports = class RemixDProvider {
this.event.trigger('fileExternallyChanged', [path, content]) 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 + '/'])
} }
} }
}) })

Loading…
Cancel
Save