docs: @Bean(preDestroy = "close")
      @Prototype
      @Requires(missingClasses = "io.methvin.watchservice.MacOSXListeningWatchService")
      @Requires(property = FileWatchConfiguration.ENABLED, value = StringUtils.TRUE, defaultValue = StringUtils.TRUE)
      @Requires(property = FileWatchConfiguration.PATHS)
      @Primary
      public WatchService watchService() throws IOException {
          String name = System.getProperty("os.name").toLowerCase();
          boolean isMacOS = "Mac OS X".equalsIgnoreCase(name) || "Darwin".equalsIgnoreCase(name);
          if (isMacOS) {
              LOG.warn("Using default File WatchService on OS X is slow. Consider adding 'io.micronaut:micronaut-runtime-osx' dependencies to use native file watch");
          }
          return FileSystems.getDefault().newWatchService();
      }