diff --git a/packages/bruno-electron/src/ipc/local-collection.js b/packages/bruno-electron/src/ipc/local-collection.js index c29ef1a00..0032df1c7 100644 --- a/packages/bruno-electron/src/ipc/local-collection.js +++ b/packages/bruno-electron/src/ipc/local-collection.js @@ -155,6 +155,7 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection if(watcher && mainWindow) { console.log(`watcher stopWatching: ${collectionPath}`); watcher.removeWatcher(collectionPath, mainWindow); + lastOpenedCollections.remove(collectionPath); } });