Commit e72e6f14 authored by ioedeveloper's avatar ioedeveloper

Trigger fileRename event

parent 802927ef
......@@ -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 () {
......
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