Interface LiveReloadConfig


@ConfigMapping(prefix="quarkus.live-reload") @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) public interface LiveReloadConfig
Live reload.
  • Method Summary

    Modifier and Type
    Method
    Description
    The amount of time to wait for a remote dev connect or reconnect
    boolean
    Whether the live-reload feature should be enabled.
    boolean
    Whether Quarkus should enable its ability to not do a full restart when changes to classes are compatible with JVM instrumentation.
    Password used to use to connect to the remote dev-mode application
    The amount of time to wait between attempts when connecting to the server side of remote dev
    The maximum number of attempts when connecting to the server side of remote dev
    url()
    URL used to use to connect to the remote dev-mode application
    The names of additional resource files to watch for changes, triggering a reload on change.
  • Method Details

    • enabled

      @WithDefault("true") boolean enabled()
      Whether the live-reload feature should be enabled.
    • instrumentation

      @WithDefault("false") boolean instrumentation()
      Whether Quarkus should enable its ability to not do a full restart when changes to classes are compatible with JVM instrumentation.

      If this is set to true, Quarkus will perform class redefinition when possible.

    • watchedResources

      Optional<List<String>> watchedResources()
      The names of additional resource files to watch for changes, triggering a reload on change. Directories are not supported.
    • password

      Optional<String> password()
      Password used to use to connect to the remote dev-mode application
    • url

      URL used to use to connect to the remote dev-mode application
    • connectTimeout

      @WithDefault("30s") Duration connectTimeout()
      The amount of time to wait for a remote dev connect or reconnect
    • retryInterval

      @WithDefault("2s") Duration retryInterval()
      The amount of time to wait between attempts when connecting to the server side of remote dev
    • retryMaxAttempts

      @WithDefault("10") Integer retryMaxAttempts()
      The maximum number of attempts when connecting to the server side of remote dev