title: Spring boot devtools - Static content reloading does not work in IntelliJ
body: <p>When building my first Spring Boot app, I discovered that I need to restart my app every time I make a change to a Javascript file in /resources/static/some-file.js</p>
  
  <p>This is very time consuming.</p>
  
  <p>When I move the files to the /webapps/ folder, it works as expected, but the files are not packaged in a JAR. The docs mention this, so I cannot continue this way.</p>
  
  <p>I read all about <code>spring-boot-devtools</code>, and have installed it in my POM, but the hotswapping doesn't seam to be working. I still need to restart the entire app to see a Javascript or CSS file change.</p>
  
  <p>When the app starts, I can see the line <code>LiveReload server is running on port 35729</code>, so <code>spring-boot-devtools</code> must be doing something...</p>
  
  <p>What would be the steps to further investigate what is going wrong?</p>
  
  <p>My guess is that when IntelliJ runs the app, the files are copied, so when I make a change, I'm actually changing the original files and not the ones used by the running app.</p>
  
  <p>PS: I'm using Maven, IntelliJ IDEA 15 and Spring Boot 1.3.3 with the embedded Tomcat server. I'm not sure what command IntelliJ runs to start the app. The IDE is handling this "automatically". Perhaps I need to change my run configuration?</p>