tepsl
tepsl

Reputation: 35

Where to edit grails startup command line in IntelliJ IDEA?

Grails-2.5.0 startup fails if fork mode is disabled.

I've found a workaround at https://jira.grails.org/browse/GRAILS-12129, which says;

Don't use the spring loaded java agent. Removing the following from the command started by IntelliJ is enough

But I cannot find where the command is written.

Run -> Edit Configurations doesn't have any option to disable agent.

Where should I edit?

Upvotes: 0

Views: 201

Answers (1)

defectus
defectus

Reputation: 1987

If you open the run configuration you should see fields like Module, Command Line, VM options and more. So add this to the Command Line field

-noreloading -Ddisable.auto.recompile=true run-app

That should stop Grails from reloading your application.

Upvotes: 2

Related Questions