Update index.js

This commit is contained in:
jelveh
2025-09-17 15:59:24 -07:00
parent 8884c7f472
commit e4ada292f1

View File

@@ -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) => {