@Override
    protected synchronized void executeInternal(ServiceHub hub) throws IOException,
                                                                       MojoExecutionException {

        BuildService.BuildContext buildContext = getBuildContext();
        WatchService.WatchContext watchContext = getWatchContext(hub);

        hub.getWatchService().watch(watchContext, buildContext, getResolvedImages());
    }
Whether to create the customs networks (user-defined bridge networks) before starting automatically
src/main/java/io/fabric8/maven/docker/WatchMojo.java