changed event for refresh

pull/1585/head
filip mertens 3 years ago
parent 23a0a3cf19
commit cdbf2d02d4
  1. 4
      apps/remix-ide/src/app/files/fileManager.js

@ -134,8 +134,8 @@ class FileManager extends Plugin {
*/
refresh () {
const provider = this.fileProviderOf('/')
// emit folderAdded so that File Explorer reloads the file tree
provider.event.emit('folderAdded', '/')
// emit rootFolderChanged so that File Explorer reloads the file tree
provider.event.emit('rootFolderChanged')
}
/**

Loading…
Cancel
Save