在IntelliJ sbt shell中突破游戏'run'



使用 sbt shell 启动 play 服务器时,您会得到提示:

[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...)

但是,Enter不会停止它,而Ctrl-C杀死了整个外壳,重新加载SBT。退出并返回SBT提示的正确方法是什么?

它看起来Ctrl-D终止 play 服务器,并返回控制到SBT Shell

最新更新