docs: protected @Nonnull WatchKey registerPath(@Nonnull Path dir) throws IOException {
          return dir.register(watchService,
                  StandardWatchEventKinds.ENTRY_CREATE,
                  StandardWatchEventKinds.ENTRY_DELETE,
                  StandardWatchEventKinds.ENTRY_MODIFY
          );
      }