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

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.