We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.base.devserver.
Package com.vaadin.base.devserver
Class ThemeLiveUpdater
java.lang.Object
com.vaadin.base.devserver.ThemeLiveUpdater
All Implemented Interfaces:
Watches the given theme folder for changes, combines the theme on changes and pushes the new version to the browser.
-
Constructor Summary
ConstructorsConstructorDescriptionThemeLiveUpdater
(File themeFolder, VaadinContext context) Starts watching the given theme folder (containing styles.css).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Stops watching the folder and cleans up resources.
-
Constructor Details
-
ThemeLiveUpdater
Starts watching the given theme folder (containing styles.css).
Parameters:
themeFolder
- the folder to watchcontext
- the current context
-
-
Method Details
-
close
Stops watching the folder and cleans up resources.
Specified by:
close
in interfaceAutoCloseable
Specified by:
Throws:
-