mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-30 09:40:00 -06:00
Update index.js
This commit is contained in:
@@ -129,6 +129,7 @@ export class PuterJSFileSystemModule extends AdvancedBase {
|
||||
// todo: NAIVE PURGE
|
||||
// purge cache on disconnect since we may have become out of sync
|
||||
puter._cache.flushall();
|
||||
console.log('Purged cache on socket disconnect');
|
||||
});
|
||||
|
||||
this.socket.on('reconnect', (attempt) => {
|
||||
|
||||
Reference in New Issue
Block a user