Skip to content
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

Hot reloading doesn't work with downloaded source #5

Open
chriserickson opened this issue Oct 9, 2017 · 4 comments
Open

Hot reloading doesn't work with downloaded source #5

chriserickson opened this issue Oct 9, 2017 · 4 comments

Comments

@chriserickson
Copy link

I tried running against the source in the repo at /complete, as well as my version which I made following the tutorial. In both cases, hot reloading doesn't work when doing a gradlew app:bootApp.

The first line of the output, which seems relevant is
Cannot resolve reloading agent JAR: Could not resolve all dependencies for configuration ':app:agent'.

@bruno-lopes
Copy link

@chriserickson Did you try to run the command grails r-a inside app directory? I followed this guide (http://guides.grails.org/grails-multi-project-build/guide/index.html) to create my application. With grails r-a the hot reload works, with gradle bootRun it doesn't.

I tried to add exploded=true inside grails closure, but without success either.

grails {
    exploded=true
    plugins {
            .........
    }
}

@bruno-lopes
Copy link

I must say that hot reload only works for resources (controllers, services, etc...) inside the main application. But for resources in plugins, it doesn't.

@vince-proj
Copy link

vince-proj commented Jan 22, 2019

I got this problem too, I tried the following on intelliJ

  • gradlew app:bootRun
  • grailsw run-app

Both not working

@stesteau
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants