diff options
-rw-r--r-- | build.gradle | 2 | ||||
-rw-r--r-- | src/main/kotlin/App.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 1cab197..ca7fc76 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ repositories { rocker { main { - optimize = false + optimize = true templateDir = file('src/main/resources/views') outputDir = file('src/main/resources/generated-views') classDir = file('src/main/resources/compiled-views') diff --git a/src/main/kotlin/App.kt b/src/main/kotlin/App.kt index bb69db2..37c7f11 100644 --- a/src/main/kotlin/App.kt +++ b/src/main/kotlin/App.kt @@ -24,7 +24,7 @@ fun main() { .start(7000) // Set up templating - RockerRuntime.getInstance().isReloading = true + RockerRuntime.getInstance().isReloading = false JavalinRenderer.register( FileRenderer { filepath, model -> Rocker.template(filepath).bind(model).render().toString() }, ".rocker.html" ) |