--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.
Hi
Just use
~jetty:start
and in most cases (as you can see in the console) jetty will
reload as soon as you save your edits. There may be some glitches
here and there but as long as you are not editing
bootstrap.liftweb.Boot jetty will most likely pick up on your
changes.
When it comes to html/css/javascript changes you might also need
to press F5 from time to time.
Hi again
I noticed that using SBT 1.0.x there seems to be a degradation in
whats triggering a hot reload.
I haven't read the xsbt-web-plugin (v4.0.0) documentation so maybe
there is some hints in there.
I just upgraded to sbt v1.0.2 (from v1.0.1) and bumped the [2]
xsbt-web-plugin to v4.0.1 (from v4.0.0) and [1] **"hot reload"**
of all types of resources (not just Scala) started to work (again)
as it should, giving (back) a much smother Lift dev experience.
so just using
~jetty:start
should work as expected.
[1] http://www.scala-sbt.org/1.0/docs/Triggered-Execution.html
[2]
https://github.com/earldouglas/xsbt-web-plugin/blob/master/docs/4.0.x.md
best regards Peter Petersson
Sry for taking so long to answer,
I finally got some time to check this out again and you are
unfortunately right the jetty server is actually shutting down and
starting up again.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.
I guess what we all like to see is something like what we have in
the javascript world with for example webpack hot reload and HMR.
For that the current status (without jRebel) a jetty stop,
restart sequence on resource changes gives us a lot more to wish
for.
best regards Peter Petersson