Skip to content

Commit 92c541e

Browse files
committed
Watch should be recursive
1 parent 9fec542 commit 92c541e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/electron/classes/IPFSSync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ class IPFSSync extends EventEmitter {
350350
logger.error('[IPFSSync] watch', err);
351351
return;
352352
}
353-
fs.watch(this.state.folder.path, this._readAndSyncFiles);
353+
fs.watch(this.state.folder.path, { recursive: true }, this._readAndSyncFiles);
354354
});
355355
}
356356
}

0 commit comments

Comments
 (0)