diff --git a/apps/remix-ide/src/app/files/fileManager.js b/apps/remix-ide/src/app/files/fileManager.js index a378c46cb6..7c4998c716 100644 --- a/apps/remix-ide/src/app/files/fileManager.js +++ b/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') } /**