0

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)?

Kokizzu
  • 24,974
  • 37
  • 137
  • 233

2 Answers2

5

you can use follow command to run scalatra.

$ ./sbt

container:start

~ ;copy-resources;aux-compile

for more details please visit this

avril23
  • 66
  • 2
1

try ~jetty:start in sbt shell.

  • This does not provide an answer to the question. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](https://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/late-answers/30071391) – Smit Gajera Oct 14 '21 at 09:28