playframework/Play20 — comment on commit a7f48c260addc2ac5848b57c50a5df95dd3759f1
File: framework/src/sbt-plugin/src/main/scala/PlayCommands.scala line 360
By jackcviers:

I think that the LessCompiler, JavascriptCompiler, and CoffeescriptCompiler should be separate tasks in compile. Due to the parallel execution of SBT, the JavascriptCompiler task should depend on the LessCompiler and the CoffeescriptCompiler. Those two tasks should output to the taskTempDirectory in Compile, and the JavascriptCompiler task should copy the js sources in app/assets to the taskTempDirectory in compile. Any sources in the resourcesManaged in Compile should be watched for changes, and only those assets that changed would be moved over.