タグ

ブックマーク / qiita.com/IsaoTakahashi (1)

  • spring-boot-devtoolsで開発効率上げようぜ、的な。 (Spring Boot 1.3) - Qiita

    <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency> </dependencies> ちょっとした前置き 以下、「開発段階では自動で○○するようになる」という記述がありますが、"開発段階 ≠ Production"の判断はアプリケーションの起動方法によって自動で判別されます。 具体的には、java -jarでの起動であったり、他の特別なクラスローダを使用した場合には"Production"として扱われます。 Property Defaults Spring Boot 1.2でThymeleaf使ってるとき、spring.thymeleaf.cacheの設定でテンプレートのキャッシュを

    spring-boot-devtoolsで開発効率上げようぜ、的な。 (Spring Boot 1.3) - Qiita
  • 1