siasia/xsbt-web-plugin — Issue #52: "compile" triggers an immediate restart of a running container
Author: dirkhusemann
Created: 2011-11-08 14:23:41+00:00
State: open

with the 0.1 web-plugin we change source code and do a "prepare-webapp" which would trigger a compile and then cause a "jetty-reload" (we had scanInterval set to 0). i'm trying to figure out how to accomplish the same with the 0.2 version of the plugin.

*first attempt:*
using
scanDirectories in Compile := Null
we start jetty:
container:start
change some source code and then compile:
compile
container is not restarted and an explicit
container:reload /
is necessary.

*second attempt:*
we drop the "scanDirectories" directive, start jetty:
container:start
change some source code and then compile:
compile
container is *immediately restarted and then is restarted once more* as soon as the compilation is finished.

how do we get the old prepare-webapp behavior?