Class StylesheetWatchService

java.lang.Object
io.quarkiverse.fx.style.StylesheetWatchService

public final class StylesheetWatchService extends Object
This utility class allows live CSS reload by watching filesystem changes and re-setting the stylesheet upon change. It is automatically used in dev mode for all FxView
  • Method Details

    • setStyleAndStartWatchingTask

      public static void setStyleAndStartWatchingTask(Supplier<javafx.collections.ObservableList<String>> stylesheetsSupplier, String stylesheet) throws IOException
      Throws:
      IOException