Closed vmunier closed 7 years ago
I am not sure why travis ci is failing, it's probably worth retrying the build.
I guess this PR can be closed, no?
Sure, looks like the upgrade to sbt-web-scalajs
and scalajs-scripts
has been made as part of this commit 179d4f1b.
Changes from
sbt-web-scalajs
:build.sbt
uses thescalaJSPipeline
task, which runs scalaJSDev in dev mode, runs scalaJSProd otherwise. The plugin is in dev mode when the user executes one of thedevCommands
, which arerun
,compile
andre-start
.devCommands
can be extended/overridden to contain different dev commands. More info in the README.md: https://github.com/vmunier/sbt-web-scalajs/tree/e14dc902cecefdf418c77c336166fdee7ce8f0e7#settings-and-tasksserver
is not needed for continuous compilation anymore.compile in Compile <<= (compile in Compile) dependsOn scalaJSPipeline
triggers scalaJSPipeline when using continuous compilation. If a task has to be run on all projects, e.g.clean
ortest
on all projects, it's good practice to use the root project:scalajs-spa-tutorial/clean
.Changes from
scalajs-scripts
:Environment
parameter, aresourceExists
parameter is required from all the Twirl templates instead.Let me know if you have any questions.