...
- gradle supports continous build mode with -t parameter to the gradle launcher (read more about the mode)
- maven is extended by micronaut plugin and goal mn:run to do the same
...
There is a UI-less way to enable support for mn:run when executing Run (Single) action and leaving behavior of Debug (Single) untouched. If we provide good enough extension API, then the Micronaut support module may remap the Run from exec:exec to mn:run for all pom.xml
file that contain micronaut-maven-plugin
. Both Maven and Gradle project support action configuration mapping, so implementation in both Gradle and Maven will just provide a different action mapping for the existing project action. Gradle supports the --continuous flag from version 4.0.x (7 / 2017), so it seems pretty safe to add that action unconditionally to the project menu.
Should there be a necessity to support multiple types of Run or Debug, then read on...
...