jettyRun with daemon = true stops right after build is finished


(Wujek Srujek) #1

I have the jettyRun task configured with daemon = true. Issuing gradlew jettyRun starts Jetty (I can see some log output), but the the build finishes and the jetty process is no longer there. Shouldn’t Jetty still be running after the build stops? I have a small project that I can upload if necessary. wujek


(Wujek Srujek) #2

Ah, ok, I understand now - daemon doesn’t fork jetty, it will just cause the build to go on while jetty runs in the background, and will kill it when the build finishes. Correct?