Class ExternalDependencyWatcher

java.lang.Object
com.vaadin.base.devserver.ExternalDependencyWatcher
All Implemented Interfaces:
Closeable, AutoCloseable

public class ExternalDependencyWatcher extends Object implements Closeable
Watches external dependency folders for changes and copies modified files to the JAR frontend resources folder.

For internal use only. May be renamed or removed in a future release.

Since:
24.1
  • Constructor Details

    • ExternalDependencyWatcher

      public ExternalDependencyWatcher(VaadinContext context, File jarFrontendResourcesFolder)
      Starts watching the dependency folders configured for the application, or the folders of the project itself when none are configured.
      Parameters:
      context - the context the configuration is read from
      jarFrontendResourcesFolder - the folder a changed frontend resource is copied into
  • Method Details