Class ThemeLiveUpdater

java.lang.Object
io.jmix.flowui.devserver.ThemeLiveUpdater
All Implemented Interfaces:
Closeable, AutoCloseable

public class ThemeLiveUpdater extends Object implements Closeable
Watches the given theme folder for changes, combines the theme on changes and pushes the new version to the browser.
  • Constructor Details

    • ThemeLiveUpdater

      public ThemeLiveUpdater(File themeFolder, com.vaadin.flow.server.VaadinContext context)
      Starts watching the given theme folder (containing styles.css).
      Parameters:
      themeFolder - the folder to watch
      context - the current context
  • Method Details