com.vaadin.base.devserver.

Class ThemeLiveUpdater

java.lang.Object
com.vaadin.base.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, VaadinContext context)

      Starts watching the given theme folder (containing styles.css).

      Parameters:

      themeFolder - the folder to watch

      context - the current context

  • Method Details