|
|
@@ -271,9 +271,9 @@ public class FileObserver implements AutoCloseable {
|
|
|
}
|
|
|
|
|
|
private void cancel(Path filepath) {
|
|
|
- // @todo #76 signal cancelation
|
|
|
log.debug("Remove directory: " + filepath);
|
|
|
directories.remove(filepath).cancel();
|
|
|
+ router.handleEvent(FileObserverEvent.modify(filepath));
|
|
|
}
|
|
|
|
|
|
private WatchEvent.Kind<?> merge(WatchEvent.Kind<?> prev, WatchEvent.Kind<?> next) {
|