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.

console ouptput after click on run

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


source to share

1 answer

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 ""

// Cloudbees
resolvers += "Sonatype OSS Snasphots" at ""

// Use the Play sbt plugin for Play projects
addSbtPlugin("" % "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!



All Articles