-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1.427
-
Fix Version/s: Not yet scheduled version
-
Component/s: Local watcher
-
Epic Link:
-
Story Points:3
In the current implementation the LocalWatcher retrieve all events from the filesystem without the possibility to identify the events generated by Nuxeo Drive itself.
To be able to identify those events the LocalClient could before each operation rename the target file ( $file ) to $file.nxdrive, do the modification and then rename it from $file.nxdrive to $file.
This way the local watcher could just ignore any events on .nxdrive and move from/to .nxdrive.
The SimpleWatcher implementation might not need this kind of tricks