sbt/sbt

[2.x] `reboot` causes sbt to exit

已關閉

#9,095 建立於 2026年4月15日

 (1 則留言) (0 個反應) (0 位負責人)Scala (1,036 個分叉)batch import
Bughelp wanted

倉庫指標

星標
 (4,928 顆星)
PR 合併指標
 (平均合併 1天 15小時) (30 天內合併 66 個 PR)

描述

steps

  1. Create a minimal build
    # project/build.properties
    sbt.version=2.0.0-RC12
    
    // build.sbt
    lazy val root = project.in(file("."))
    
  2. Run sbt in the project dir
  3. Run reboot

problem

reboot says it's booting the sbt server, then says the server closed:

sbt:root> reboot
[info] sbt server is booting up

sbt server connection closed.

expectation

reboot should reboot the server and drop you back into the sbt shell

貢獻者指南