Search code examples
grailsintellij-idea

Grails application doesn't automatically start in browser with grails run-app


For some reason my grails application no longer starts a browser with the webpage displayed when doing a grails run-app. It always did before. There is no errors or anything, it just no longer auto-starts the application. I haven't changed any code unless git corrupted something. Anyone know what could cause this?


Solution

  • Grails does not start a browser - usually your IDE takes care of this.

    On IntelliJ you can enable this behaviour (Launch Browser) under your Run Configuration.

    1

    1. Click on Edit Configurations… here

    2

    1. Enable Launch Browser