Use gradle --continuous myTask.
This is a feature of the new 2.5 version .
When launched with command line options, -continuous or -t Gradle will not complete at the end of the build. Instead, Gradle will expect the files processed by the assembly to be modified. When changes are detected, Gradle will restart the previous build with the same task selection.
. Continuous Build.