Fixed by moving this concern into the plugin.

On 03/03/2014, at 8:32 AM, Peter Vlugter <notifications@github.com> wrote:

> In sbt-js-engine/src/main/scala/com/typesafe/sbt/jse/SbtJsTaskPlugin.scala:
> 
> > @@ -366,8 +366,12 @@ abstract class SbtJsTaskPlugin extends sbt.Plugin {
> >     */
> >    def addJsSourceFileTasks(sourceFileTask: TaskKey[Seq[PathMapping]]): Seq[Setting[_]] = {
> >      Seq(
> > -      sourceFileTask in Assets := jsSourceFileTask(sourceFileTask, Assets).value,
> > -      sourceFileTask in TestAssets := jsSourceFileTask(sourceFileTask, TestAssets).value,
> > +      sourceFileTask in Assets := Def.task {
> > +        jsSourceFileTask(sourceFileTask, Assets).value
> > +      }.dependsOn(managedSources in Assets).value,
> Does it need a dependsOn? Won't the sourceFileTask map the managedSources, if it needs them?
> 
> —
> Reply to this email directly or view it on GitHub.
>