我正在使用Typesafe Activator 1.2.10。我从模板play-scala用激活器ui创建了一个新项目。

当我单击开始时,播放以产品模式运行。我想在开发模式下运行它。如何使用激活器ui做到这一点?

取消点击开始后,请参阅以下日志。



PS:我知道如何通过带有activator的命令从命令行在dev模式下运行该项目:activator run

编辑:
我的问题可能是这里https://github.com/typesafehub/activator/issues/601的报道

最佳答案

插件和Play-scala种子存在问题:

只需将project / plugins.sbt更改为此

// Comment to get more information during initialization
logLevel := Level.Warn

// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

// Cloudbees
resolvers += "Sonatype OSS Snasphots" at "http://oss.sonatype.org/content/repositories/snapshots"

// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.0-RC2")

addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0-RC2")

addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0-RC3")


并重新编译项目。应用正在开发模式下运行,刷新时自动重新编译正在运行!

https://github.com/typesafehub/activator/issues/601#issuecomment-72938901

10-06 16:10