diff --git a/core/runtime/src/main/java/io/quarkus/runtime/LiveReloadConfig.java b/core/runtime/src/main/java/io/quarkus/runtime/LiveReloadConfig.java index 15b50771df6bb..3a287e3c76e10 100644 --- a/core/runtime/src/main/java/io/quarkus/runtime/LiveReloadConfig.java +++ b/core/runtime/src/main/java/io/quarkus/runtime/LiveReloadConfig.java @@ -12,12 +12,12 @@ public class LiveReloadConfig { /** - * Whether or not Quarkus should disable it's ability to not do a full restart + * Whether or not 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 false, Quarkus will always restart on changes and never perform class redefinition. + * If this is set to true, Quarkus will perform class redefinition when possible. */ - @ConfigItem(defaultValue = "true") + @ConfigItem(defaultValue = "false") boolean instrumentation; /** diff --git a/integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java b/integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java index cd1611ab19758..a3c10c7fca51c 100644 --- a/integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java +++ b/integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java @@ -220,7 +220,10 @@ public void testThatInstrumentationBasedReloadWorks() throws MavenInvocationExce testDir = initProject("projects/classic-inst", "projects/project-intrumentation-reload"); runAndCheck(); - //if there is an insturmentation based reload this will stay the same + // Enable instrumentation based reload to begin with + DevModeTestUtils.getHttpResponse("/app/enable"); + + //if there is an instrumentation based reload this will stay the same String firstUuid = DevModeTestUtils.getHttpResponse("/app/uuid"); // Edit the "Hello" message.