Why not let assets get compiled in parallel with scala code?

I.e. dont use depends on...
On Apr 1, 2014 7:56 PM, "Christopher Hunt" <notifications@github.com> wrote:

> In framework/src/sbt-plugin/src/main/scala/PlayCommands.scala:
>
> > @@ -61,9 +39,7 @@ trait PlayCommands extends PlayAssetsCompiler with PlayEclipse with PlayInternal
> >      testListener.result.clear
> >    }
> >
> > -  val playReloadTask = (playCopyAssets, playCompileEverything) map { (_, analysises) =>
> > -    analysises.reduceLeft(_ ++ _)
> > -  }
> > +  val playReloadTask = Def.task(playCompileEverything.value.reduceLeft(_ ++ _)).dependsOn(WebKeys.assets in Assets)
>
> On further investigation, I'd like to keep things the way they are here.
> The purpose is that assets are compiled before scala compilation - in the
> same way that it was before. Compiling assets is very fast compared to
> Scala so it is nicer this way.
>
> However I've added the following in PlaySettings:
>
> products in Compile := (products in Compile).dependsOn(assets in Compile).value,
>
> Thus the assets are also ensured for products in Runtime (Runtime extends
> Compile).
>
> Lastly, the (products in Runtime) setting is utilised further in the
> reload activity when a new classpath is established (PlayReloader.scala).
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/playframework/playframework/pull/2565/files#r11187836>
> .
>