jakewins/brew — pull request #15 by elmomalmo (2012-04-24 13:57:29+00:00)
Title: Speed up the compilation step by only compiling files that are newer than already compiled files 

Update src/main/java/com/voltvoodoo/brew/compile/CompilerMojo.java

I've modified the compilation mojo so that it checks the lastModified value of the CoffeeScript file and that of the JavaScript file and then only recompiles if the JavaScript file is older (or doesn't exist). If the JavaScript file is newer then the assumption is that there is nothing new to compile.

I've found this to be a major improvement because it speeds up edit->compile->run-test->repeat development cycle significantly.

Obviously this only yields a (much) faster build on non-clean builds.