mirror of https://github.com/zlatinb/muwire
register created directories recursively
parent
9c049b9301
commit
c698cbd737
|
@ -89,6 +89,8 @@ class DirectoryWatcher {
|
|||
private void processCreated(Path parent, Path path) {
|
||||
File f= join(parent, path)
|
||||
log.fine("created entry $f")
|
||||
if (f.isDirectory())
|
||||
f.toPath().register(watchService, kinds)
|
||||
}
|
||||
|
||||
private void processModified(Path parent, Path path) {
|
||||
|
|
Loading…
Reference in New Issue