{"action":"opened","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/4138","labels_url":"https://api.github.com/repos/playframework/playframework/issues/4138/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/4138/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/4138/events","html_url":"https://github.com/playframework/playframework/issues/4138","id":64560800,"number":4138,"title":"Remove mainDev methods as part of reloader refactoring","user":{"login":"benmccann","id":322311,"avatar_url":"https://avatars.githubusercontent.com/u/322311?v=3","gravatar_id":"","url":"https://api.github.com/users/benmccann","html_url":"https://github.com/benmccann","followers_url":"https://api.github.com/users/benmccann/followers","following_url":"https://api.github.com/users/benmccann/following{/other_user}","gists_url":"https://api.github.com/users/benmccann/gists{/gist_id}","starred_url":"https://api.github.com/users/benmccann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmccann/subscriptions","organizations_url":"https://api.github.com/users/benmccann/orgs","repos_url":"https://api.github.com/users/benmccann/repos","events_url":"https://api.github.com/users/benmccann/events{/privacy}","received_events_url":"https://api.github.com/users/benmccann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-26T15:41:53Z","updated_at":"2015-03-26T15:41:53Z","closed_at":null,"body":"I was looking at how to refactor more of the reloader out and into run-support or possibly SBT eventually. I think one thing that would be helpful is to just use the standard `main` method instead of `mainDevHttpMode` and `mainDevOnlyHttpsMode`. If we want to pass ports in then we can just convert those arguments to the `String[] args` and pass them in. By just using `main` it's more generic and as a result there's more that we'll end up being able to make into a generic library.\r\n\r\ncc @pvlugter you might be interested in this idea"}}