Khoulaiz / gradle-jetty-eclipse-plugin

Gradle Jetty Plugin for Eclipse Jetty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot reload app

longkai opened this issue · comments

just clone the example repo, run gradle clean jettyEclipseRun, it works. but when create a new .jsp file or modify the original index.jsp file or modify the original HelloGradle.java servlet, no reload. i try to turn automaticReload to true, hit enter, r+enter, R+enter, even the gradle devJetty, same...

btw, when i hit r+enter, the console show Downloading http://services.gradle.org/distributions/gradle-1.9-bin.zip

please...

well, it seem download a gradle bin-zip and execute a daemon to rebuild and reload, or i have to trigger it mannuly.

finally, if i don't set rebuildIntervalInSeconds > 0, it won't get auto reload even i set automaticReload = true...

and the rebuildIntervalInSeconds always build even i dont't change a file...

it seems a little bit strange... and scanIntervalInSeconds seems useless...

thank you for understanding my poor english.

It seems to me, that you haven't read the documentation of my plugin. Please read especially the section about the differences to the original plugin and how to use it properly.

The automatic rebuild does constant automatic rebuilds. If you don't change something, the rebuild is still done but nothing is really built because gradle is smart enough to detect this.