This commit is contained in:
jamesfalkner
2019-07-23 07:36:12 -04:00
parent b2fb713110
commit 6754394377
2 changed files with 3 additions and 3 deletions

View File

@@ -126,12 +126,12 @@ Wow, how cool is that? Supersonic Subatomic live reload! Go ahead and change it
[NOTE]
====
This will also listen for a debugger on port `5005`. If your want to wait for the debugger to attach before running you can pass `-Ddebug` on the command line. If you dont want the debugger at all you can use `-Ddebug=false`. We'll use this later.
This will also listen for a debugger on port `5005`. If you want to wait for the debugger to attach before running you can pass `-Ddebug` on the command line. If you dont want the debugger at all you can use `-Ddebug=false`. We'll use this later.
====
### Stop the previous application
Let's stop the original application so we can package and re-run it as an executable JAR. In the terminal, press kbd:[CTRL+C] to stop the application (**some browsers don't support this command** - simply close the Terminal using the kbd:[X] button on the tab, which will also kill the running app).
Let's stop the original application so we can package and re-run it as an executable JAR. In the terminal, press kbd:[CTRL+C] to stop the application (**some browsers don't support this command** - simply close the Terminal using the kbd:[X] button on the tab, which will also kill the running app - remember to click _OK_ to the pop-up dialog about terminating the running process.)
image::kill.png[kill,800]

View File

@@ -57,7 +57,7 @@ This default health check will return success as long as the app is running - if
We can now implement a better Health Check using the MicroProfile APIs. Create a new Java class - `org.acme.people.health.SimpleHealthCheck` (hint: right-click on the `org.acme.people.health` package and select _New > Java Class_ and name it `SimpleHealthCheck`). In this file, implement the health check (you can copy/paste this code):
[source, java, role="copypaste"
[source, java, role="copypaste"]
----
package org.acme.people.health;