0

I feel like this should be simple but I can't find the answer anywhere. I'm trying to disable Play Framework from launching a browser window on localhost:9000 when using a run configuration in Intellij when using sbt Task for the run configuration.

I know how to run a project on something other than the default port with sbt run <my_port>.

I can get the run configuration to launch a browser window with my custom port loaded automatically:

Adding a task to launch a web browser on a specific port Intellij

But I also want to disable the default behavior of launching a browser window with localhost:9000. Any ideas?

Lucas
  • 13
  • 5
  • 1
    If you are using a standard Play 2 run configuration, the first option on the edit run configuration dialog should be "Open in a browser after compilation". Disabling this will have the intended effect. – Regan Koopmans Feb 12 '20 at 06:24
  • @ReganKoopmans you could have added your comment as an answer – michaJlS Feb 12 '20 at 09:12
  • We're using `sbt Task` for all of the run configurations, which have a different configuration dialog window unfortunately. – Lucas Feb 12 '20 at 14:22
  • We figured it out, turns out it was another plugin we were using and not a setting in stock `Play!` – Lucas Apr 09 '20 at 16:01

0 Answers0