modules/jooby-filewatcher/src/main/java/org/jooby/filewatcher/FileEventOptions.java
public FileEventOptions kind(final WatchEvent.Kind<Path> kind) {
    requireNonNull(kind, "WatchEvent.Kind required.");
    kinds.add(kind);
    return this;
  }
public FileEventOptions kind(final WatchEvent.Kind<Path> kind) {
    requireNonNull(kind, "WatchEvent.Kind required.");
    kinds.add(kind);
    return this;
  }
Append a kind filter.

The default filter is: {@link StandardWatchEventKinds#ENTRY_CREATE},
{@link StandardWatchEventKinds#ENTRY_DELETE} and {@link StandardWatchEventKinds#ENTRY_MODIFY}.

@param kind Filter type.
@return This options.