4
votes

When starting up a Play server in the an IntelliJ project using the sbt shell, you get the prompt:

[IJ]sbt:app> run

--- (Running the application, auto-reloading is enabled) ---

[info] p.c.s.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

(Server started, use Enter to stop and go back to the console...)

However Enter does not stop it and Ctrl-C kills the entire shell, reloading sbt. What is the proper way to exit and return to the sbt prompt?

1

1 Answers

8
votes

It appears Ctrl-D terminates the Play server and return control to the sbt shell