title: IntelliJ hot swapping classes, but not JSF pages
body: <p>First of all, I would like to say that there is plenty of pages on StackOverflow and I tried all I found related, but I am doing something wrong.</p>
  
  <p>I have IntelliJ server set up to:</p>
  
  <ul>
  <li>server Tomcat 8</li>
  <li>JDK 8u65</li>
  <li>Maven</li>
  <li>IntelliJ 14</li>
  <li>In Run/Debug configuration I have set
  
  <ul>
  <li>VM Options:
  
  <ul>
  <li>On Update action: Update resources</li>
  <li>On frame deactivation: Update classes and resources</li>
  </ul></li>
  </ul></li>
  <li>Before launch: Build xxx.war exploded</li>
  <li>Deployment tab set to deploy xxx.war exploded</li>
  </ul>
  
  <p>If I change the body of any class (e.g.returned value), everything is fine and it hot swap the class as I would expect.</p>
  
  <p>Unfortunatelly when I change some JSF resources(under webapp directory), nothing happens. I looked into Tomcat temp directory, where files are moved into, and I can see only the old ones.</p>
  
  <p>I also tried to add webapp directory as resources in IntelliJ, and it did not help.</p>
  
  <p>Where do I have mistake?</p>
  
  <p>My project structure:</p>
  
  <pre><code>    src
      └── main
          ├── java
          |    └── *.java
          ├── resources
          |    └── spring-web-context.xml    
          └── webapp
               ├── template.xhtml
               ├── ...
               └── index.xhtml
  </code></pre>