I have an idea (not new though) to make a compilation scala code to JavaScript. Basically I would like to use Scala where now Coffee Script is used in PlayFramework 2.x.
It seems it is not so hard to make it happen. Let's say I have a file /managed/Foo.js.scala. If something has changed in this file, when I refresh a page it triggers the compilation to js. And then, as result I can see updated assets/javascripts/Foo.js file.
So, the question is: how to trigger complication by browser-refresh event in PlayFramework?
Not necessary the answer but a direction where is the effort to do this. I will play around this.
About Sccla.JS, I guess it might be critical if I develop application that needs to be run on mobile. Several BMs of JS might deal breaker to use Sccla.JS