@ Override public boolean fileCreated ( File file ) throws WatchingException { if ( stylesheets != null ) { try { process ( stylesheets ) ; } catch ( MojoExecutionException e ) { throw new WatchingException ( "Error while aggregating or minifying CSS resources" , file , e ) ; } } else { process ( file ) ; } return true ; }
Minifies the created files .