title: have IntelliJ IDEA refresh the project and detect changed files
body: <p>I'm using Eclipse for development because of all the things IntelliJ can't do (e.g. highlight all instances of a variable) and because IntelliJ is dog slow over a remote connection. But because I still don't have Maven integrated completely into Eclipse, I have to switch back to IntelliJ to compile and run my project using Tomcat.</p>
  
  <p>How can I tell IntelliJ to detect all files that have changed on the file system and recompile them? (I don't want to manually open each changed file to get IntelliJ to detect the change.) In Eclipse I would just Refresh the project tree [<strong>1</strong>]...</p>
  
  <p><strong>Footnotes</strong>:</p>
  
  <ol>
  <li>Eclipse has a feature (named "<strong><em>Refresh Using native hooks or polling</em></strong>") which you can enable  to automatically detect changes and synchronise the perspective when any underlying changes are detected in the filesystem (see images below). This is quite handy and eliminates the need to manually refresh the project when using build tools - where files/directories get created in the project directory structure. </li>
  </ol>
  
  <p>Is there anything similar for Intellij (explicit setting or otherwise) that eliminates having to click a button to synchronize the view with filesystem changes?</p>
  
  <p><img src="https://i.stack.imgur.com/okLzM.png" alt="&#39;Refresh Using native hooks or polling&#39; setting"></p>