scripts.scala.htmlcalls all the templates (including
jsdeps.scala.html). More info in the README.md.
[error] (client/test:loadedTestFrameworks) java.io.IOException: Cannot run program "node": error=2, No such file or directory
name := "client-foo"under the
lazy val client = ...section, and I change (or don't change! it doesn't matter) the
@scalajs.html.scriptsstuff in server/app/views/main.scala.html to be
name := "whatever"value for the client project?
ownloads/play-with-scalajs-example-master/build.sbt:5: error: reference to scalaJSProjects is ambiguous; it is imported twice in the same scope by import _root_.webscalajs.WebScalaJS.autoImport._ and import _root_.playscalajs.PlayScalaJS.autoImport._ scalaJSProjects := Seq(client), ^ sbt.compiler.EvalException: Type error in expression [error] sbt.compiler.EvalException: Type error in expression
consoletriggers sbt-web's pipelineStages, which includes scalaJSPipeline. sbt-web adds the output files produced by pipelineStages (i.e. Scala.js output files for scalaJSPipeline) to the server's classpath.
consoletriggers sbt-web's pipelineStages, so that one can read the classpath and access the Scala.js output files from the console, should you ever need that.
devCommands in scalaJSPipeline += "console", or setting
isDevMode in scalaJSPipeline := trueto always have the dev mode enabled