How to start a play project in dev mode using the API
I am using Configafe Activator 1.2.10. I created a new project with ui activator from play-scala template.
When I click the start button, the playback is in prod mode. I would like to run it in dev mode. How to do this with ui activator?
See below logs after click start.
PS: I know how to start this project in dev mode from command line with activator with command: launch activator
Edit: My issue is probably about what was reported here https://github.com/typesafehub/activator/issues/601
source to share
There are problems with plugins and play-scala seed:
just change project / plugins.sbt to this
// 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")
and recompile the project. The app runs in dev mode and the automatic recompilation on upgrade works!
https://github.com/typesafehub/activator/issues/601#issuecomment-72938901
source to share