spring boot その6 - hot deploy
実装したソースは https://github.com/huruyosiathatena/springboot/tree/bf14db6cee0c0eba88894932722a514053f49bbd にあります。
再起動せずにjavaのソースコードの変更を反映
小さな修正を行う都度にjavaを再起動するのは手間なので pom.xmlを編集してhot deployを有効にします。
<dependency> <groupId>org.springframework</groupId> <artifactId>springloaded</artifactId> </dependency>