domix / jade4j-spring-boot-starter

Spring Boot jade4j Starter
Apache License 2.0
64 stars 20 forks source link

No live reloading #3

Closed JimiJonJimbo closed 9 years ago

JimiJonJimbo commented 9 years ago

When I make changes to my .jade files, I have to restart my project in order to see the changes (just refreshing the page in the browser doesn't work). I have set spring.jade4j.caching to false but it doesn't help. Is live reloading broken?

Thanks!

domix commented 9 years ago

Which building tool are you using?

JimiJonJimbo commented 9 years ago

Gradle.

domix commented 9 years ago

In order to reload the changes to jade templates you need some mechanism to watch for the changes.

The showcase is using the Gradle Watch plugin

The dynamic reloading of jade templates is out of scope of this SpringBoot starter

JimiJonJimbo commented 9 years ago

gradle watch was the missing step for me. Thanks!