News for hackers. Stuff that matters.
Re:Scala.js 1.0.0-RC1 by sjrd on Tuesday November 26, 2019 @11:13AM (#21639546)
scalac is only slow when it needs to compile an entire project. But the Scala tooling ecosystem has invested a lot in incremental compilation, which means that most of the time when you make a change, only 1 or 2 files are recompiled, which is quite snappy. In turn, the Scala.js linker also performs its linking and optimizations incrementally, so that in an interactive development setting, the whole cycle is quite fast.
Re:Scala.js 1.0.0-RC1 by AzzieElbab on Tuesday November 26, 2019 @11:48AM (#21639976)
fine, but what tooling/workflow would one use for the type of development javascripters are accustomed to? Like make a change and immediately observe result on the page?
Re:Scala.js 1.0.0-RC1 by sjrd on Tuesday November 26, 2019 @11:53AM (#21640040)
Workbench [1], for example :)

[1] https://github.com/lihaoyi/workbench

Re:Scala.js 1.0.0-RC1 by ramnivasl on Tuesday November 26, 2019 @02:54PM (#21642013)
Also, if you use webpack (directly or through scalajs-bundler), the use of webpack-dev-server makes live loading automatic.
Re:Scala.js 1.0.0-RC1 by AzzieElbab on Tuesday November 26, 2019 @01:19PM (#21641041)
Thank you. Did not know about this plugin