needed by Nuxeo IDE
Use a flush listener to be notified when a reload happens and flush the compiled chains