Switch to OnInterestCallback
diff --git a/nb-configuration.xml b/nb-configuration.xml
index e3e0dd7..e5ab57c 100644
--- a/nb-configuration.xml
+++ b/nb-configuration.xml
@@ -28,5 +28,6 @@
<org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-limit-width>80</org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-limit-width>
<org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-line-wrap>none</org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-line-wrap>
<org-netbeans-modules-editor-indent.text.x-fortran.CodeStyle.project.text-limit-width>132</org-netbeans-modules-editor-indent.text.x-fortran.CodeStyle.project.text-limit-width>
+ <netbeans.compile.on.save>all</netbeans.compile.on.save>
</properties>
</project-shared-configuration>