public Builder mode(String mode) {
            if (mode != null) {
                c.mode = WatchMode.valueOf(mode.toLowerCase());
            }
            return this;
        }
Configuration for watching on image changes
src/main/java/io/fabric8/maven/docker/config/WatchImageConfiguration.java