private void resetWatcher ( ) { // Stop the current watcher. stopWatcher ( ) ; // Update the template & target directories, based on the provided configuration directory. if ( this . templatesDIR == null ) { this . logger . warning ( "The templates directory was not specified. DM templating is temporarily disabled." ) ; } else if ( this . outputDIR == null ) { this . logger . warning ( "The templates directory was not specified. DM templating is temporarily disabled." ) ; } else { this . templateWatcher = new TemplateWatcher ( this , this . templatesDIR , this . pollInterval ) ; this . templateWatcher . start ( ) ; } }
Updates the template watcher after a change in the templating manager configuration .