bluepapa32 / gradle-watch-plugin

Gradle Watch Plugin
Apache License 2.0
117 stars 20 forks source link

Background Mode #7

Open uris77 opened 10 years ago

uris77 commented 10 years ago

Is there anyway to have a background mode? Or maybe add a task to be executed when the watch plugin starts?

I'm trying to use it with another plugin (ratpack) that does not hand off control, similar to this plugin. Been trying to figure out how to do either: a. Tell watch to run a task after it the task has started. For example:

watch {
  //configuration
 startAtEnd = "someOtherTask"
}

b. Tell watch to go to background mode:

watch {
  // configuration
  background = true
}
bluepapa32 commented 10 years ago

Sorry for late reply. The current release does not have a background mode and a task to be executed when it starts. I don't know ratpack plugin. Is this use-case similar to use Jetty plugin and Watch plugin at a time?

samgqroberts commented 9 years ago

Has there been any progress on this / plans for the future? This would be a very lovely feature!