mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-15 18:33:52 +00:00
Update index.js
This commit is contained in:
1 parent
8884c7f472
commit
e4ada292f1
1 file changed
+1
@@ -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