Hi,
we are using the content interface in spool-mode to share folders from multiple snaps in another snap. The folder is structured like this $SNAP_DATA/assets/{snapA,snapB,snapC…snapN}. Our application is using a file watcher to monitor changes in $SNAP_DATA/assets/.
We noticed that when a new snapD is connecting to this content interface we get fs “remove events” for snapA, snapB, snapC and afterwards “create events” for snapA,snapB, snapC and snapD. We expected to only get one create event for snapD.
When disconnecting snapD we get again events for all other snaps.
Why is the folder rebuild on each connect/disconnect? Is this by design?
Thanks.