-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the application using runProd
ignores configuration file
#10913
Comments
runProd
ignore configuration filerunProd
ignores configuration file
Is there anything I can do to help fix this bug? I can work hand in hands with developer's from the Play Framework if necessary (on slack or gitter, let me know). I just don't know how to code in Scala, so I can propose a PR... @gmethvin |
Try |
@abteilung6 Thanks for the suggestion, but it doesn't work. I get exactly the same error. It's like the |
I also had this issue, but using Intellij. I found a solution but this is a horrible user experience... it comes down to Intellij's run configurations being significantly different between the sbt
I'm not sure if it's Play or Intellij getting things mixed up. But correct usage is not clear. |
Play Version
Latest: 2.8.8
API
Java
Operating System
Windows 10
JDK
Expected Behavior
sbt -Dconfig.file=conf\my.conf runProd
Actual Behavior
sbt -Dconfig.file=conf\my.conf runProd
Please note that if I run
sbt -Dconfig.file=conf\my.conf run
, everything works fine but it's not in "prod mode" which I need for some testing. Looks like a bug, either in the documentation or in the code.The text was updated successfully, but these errors were encountered: