【发布时间】:2017-03-02 03:49:27
【问题描述】:
我用过这个插件https://github.com/spray/sbt-revolver
根据文档,我只需要添加addSbtPlugin("io.spray" % "sbt-revolver" % "0.8.0")
然后使用sbt re-start启动应用程序
然后控制台显示... killing ...
我不知道发生了什么,我错过了什么吗?
【问题讨论】:
我用过这个插件https://github.com/spray/sbt-revolver
根据文档,我只需要添加addSbtPlugin("io.spray" % "sbt-revolver" % "0.8.0")
然后使用sbt re-start启动应用程序
然后控制台显示... killing ...
我不知道发生了什么,我错过了什么吗?
【问题讨论】:
re-start 旨在从sbt 控制台使用。如果您从 shell 运行命令,sbt 将运行 re-start,命令将完成(您的进程在后台),然后sbt 将立即退出。
启动控制台,然后运行re-start:
$ sbt
...
[info] Set current project to my-app
> re-start
[info] Application my-app not yet started
[info] Starting application my-app in the background ...
>
【讨论】: