Run a web server task in a background thread

HI guys, I have started to use gradle and since we are using akka-http to run our API server gradle can’t work with continuous compilation (beacuse web server loop). When we have used sbt we could make it work using sbt-revolver (https://github.com/spray/sbt-revolver) and we have found something similar for gradle called GRefresher but (https://github.com/saladinkzn/GRefresher) the errors are not sent to the stdout so we are asking if there is something we can use to deal with this situation in gradle.

Thanks in advanced