Package io.quarkiverse.fx.style
Class StylesheetWatchService
java.lang.Object
io.quarkiverse.fx.style.StylesheetWatchService
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 Summary
Modifier and TypeMethodDescriptionstatic voidsetStyleAndStartWatchingTask(Supplier<javafx.collections.ObservableList<String>> stylesheetsSupplier, String stylesheet)
-
Method Details
-
setStyleAndStartWatchingTask
public static void setStyleAndStartWatchingTask(Supplier<javafx.collections.ObservableList<String>> stylesheetsSupplier, String stylesheet) throws IOException - Throws:
IOException
-