Trigger fileRename event

pull/11/head
ioedeveloper 5 years ago
parent 802927ef58
commit e72e6f1423
  1. 4
      apps/remix-ide/src/app/files/remixDProvider.js

@ -37,6 +37,10 @@ module.exports = class RemixDProvider {
this._appManager.on('remixd', 'fileRemoved', (path) => {
this.event.trigger('fileRemoved', [this.addPrefix(path)])
})
this._appManager.on('remixd', 'fileRenamed', (oldPath, newPath) => {
this.event.trigger('fileRemoved', [this.addPrefix(oldPath), this.addPrefix(newPath)])
})
}
isConnected () {

Loading…
Cancel
Save