Gradle build: Two processes running? When stop, I get: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
Answered
IntelliJ IDEA 2018.2.3 (Community Edition)
Build #IC-182.4323.46, built on September 3, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
Hello,
I just imported a new Gradle project (Java Spark).
I setup a new configuration that looks like:

I click debug icon and the embedded Jetty server starts. Site is up and all is good.
When I "Stop all" processes, I get:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
QUESTIONS:
Question 1: Why do I see two processes? Shouldn't I just see one process?

Is this normal?
- I just checked my coworker's machine, and she's running 2018.1.x, and she only sees one process running when stopping the same exact configuration.
Question 2: What is "daemon disappeared unexpectedly"? Should I be concerned?
Thanks!
Please sign in to leave a comment.
One process is a Gradle task another is the forked by the task java process. See https://youtrack.jetbrains.com/issue/IDEA-194325#focus=streamItem-27-2972975-0-0 https://youtrack.jetbrains.com/issue/IDEA-194325#focus=streamItem-27-2992378-0-0 and https://youtrack.jetbrains.com/issue/IDEA-194325#focus=streamItem-27-3036479-0-0 about this new behaviour.
Thank you Andrey!
Reading docs now, I really appreciate it! :)