readd provider emiting event

pull/1756/head
filip mertens 3 years ago
parent bc1f4e8979
commit ed8b223dee
  1. 1
      apps/remix-ide/src/app/files/fileManager.js

@ -140,6 +140,7 @@ class FileManager extends Plugin {
refresh () {
const provider = this.fileProviderOf('/')
// emit rootFolderChanged so that File Explorer reloads the file tree
provider.event.emit('rootFolderChanged', provider.workspace || '/')
this.emit('rootFolderChanged', provider.workspace || '/')
}

Loading…
Cancel
Save