scalascalatra

Is Scalatra autoreload when the code changed?


Is scalatra (Scala server side framework) auto-refresh when one of our source code changed (just like PHP)?

or if they are not, is there any Scala server side framework that able to do that (edit code, then test on the browser, without needing to restart the scala/server program)?


Solution

  • you can use follow command to run scalatra.

    $ ./sbt

    container:start

    ~ ;copy-resources;aux-compile

    for more details please visit this