xoofx / zio

A cross-platform abstract/virtual filesystem framework with many built-ins filesystems for .NET
BSD 2-Clause "Simplified" License
817 stars 61 forks source link

Fix AggregateFileSystemWatcher watchers not being in sync #16

Closed Rohansi closed 6 years ago

Rohansi commented 6 years ago

If a watcher is added the the aggregate after Watch is called, such as when adding a filesystem to a MountFileSystem or AggregateFileSystem, it will not copy over the required configuration and wont raise events.

xoofx commented 6 years ago

Ah, when I tried to use AggregateFileSystem with watcher, I noticed this problem a few weeks ago but didn't have time to come back into this, thanks!