Playframework run and Global.onStart

playframework-2.0

Solution

In dev mode, onStart is called with the first request

That was the answer for my question - thank you!

Problem

When i run application in DEV mode (play run) my Global.onStart method is not executed. But if i "play start" my application then Global.onStart runs as it should. How can i execute Global.onStart by "play run"ing it ? I use the java version 2.0.2

Original source