register created directories recursively
This commit is contained in:
@@ -89,6 +89,8 @@ class DirectoryWatcher {
|
|||||||
private void processCreated(Path parent, Path path) {
|
private void processCreated(Path parent, Path path) {
|
||||||
File f= join(parent, path)
|
File f= join(parent, path)
|
||||||
log.fine("created entry $f")
|
log.fine("created entry $f")
|
||||||
|
if (f.isDirectory())
|
||||||
|
f.toPath().register(watchService, kinds)
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processModified(Path parent, Path path) {
|
private void processModified(Path parent, Path path) {
|
||||||
|
|||||||
Reference in New Issue
Block a user