So after running the command recommended in Scalatras guides, at root dir:
$ sbt
> ~;jetty:stop;jetty:start
I get jetty to reload changes when I make changes in scala files, but if I make changes in js or css I must end jetty and relaunch the same command.
Is there anyway to improve this workflow? how to livereload also when files inside webapp
(*.js
, *.css
files) dir have been changed?
Scalatra should reload resources under webapp
directory by just start your apps with set ~jetty:start
.