title: Have Spring boot reload when lib module gets changed on development
body: <p>We have 3 modules in our maven project: <code>module-a</code>, <code>module-b</code> and <code>module-c</code>. <code>module-a</code> and <code>module-b</code> are spring-boot projects, both of them depend on <code>module-c</code> which only contains shared code for <code>module-a</code> and <code>module-b</code>. Here is our process when developing:</p>
  <ul>
  <li>run <code>mvn install</code> on module-c to make it available on the local m2 repository.</li>
  <li>then run <code>mvn spring-boot:run</code> on <code>module-a</code> and <code>module-b</code> to deploy spring-boots.</li>
  </ul>
  <p>The problem is, whenever we have just a small change on <code>module-c</code>, we have to shutdown 2 spring-boots then repeat those 2 steps above which is time consuming and tedious.</p>
  <p>We also applied the dependency <code>spring-boot-devtools</code> to <code>module-a</code> and <code>module-b</code> but it only affects on code changed within these 2 modules. And we don't rely on IDE because it usually provides false information with its <code>autobuild</code>. And also the version of <code>module-c</code> is kept unchanged.</p>
  <p>My question is: is it possible to let spring-boot know of changes in library modules and automatically reload/rebuild/restart? We are ok with the <code>mvn install</code> on <code>module-c</code> just don't want to manually restart spring-boots every time.</p>
  <p>Many thanks in advance!</p>