title: How to "Compile on save" in netbeans after I change the build directory?
body: <p>My NetBeans' "Compile on save" feature works well.</p>
  
  <p>But after I change my project's build directory by adding a line</p>
  
  <pre><code>build.dir=path/to/my/own/build/dir
  </code></pre>
  
  <p>or</p>
  
  <pre><code>build.classes.dir=path_to_my_own_build_dir/classes
  </code></pre>
  
  <p>to the file <code>path_to_my_project/nbproject/private/private.properties</code>, NetBeans doesn't "Compile on save" anymore.</p>
  
  <p>I must click the "Compile" or "Clean and Compile" button to compile my project.</p>
  
  <p>I checked that in <code>nbproject/private/private.properties</code>: there is a <code>compile.on.save=true</code> line, and the "Compile on save" checkbox in my project's property dialog is checked.</p>
  
  <p>Is there any way to let NetBeans "Compile on save"?</p>