Skip to content

file watcher module #627

@jknack

Description

@jknack
{
   use(new FileWatcher()
       .register(Paths.get("mydir"), (kind, path) -> {
         log.info("Path {} has been {}", path, kind);
       });
   );
}

The file watcher module allows to efficiently react to fs event like create, modify or delete files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions