pub fn rtc_watch(cli_build: ConfigOptsBuild, cli_watch: ConfigOptsWatch, config: Option<PathBuf>) -> Result<Arc<RtcWatch>> {
        let base_layer = Self::file_and_env_layers(config)?;
        let build_layer = Self::cli_opts_layer_build(cli_build, base_layer);
        let watch_layer = Self::cli_opts_layer_watch(cli_watch, build_layer);
        let build_opts = watch_layer.build.unwrap_or_default();
        let watch_opts = watch_layer.watch.unwrap_or_default();
        let tools_opts = watch_layer.tools.unwrap_or_default();
        let hooks_opts = watch_layer.hooks.unwrap_or_default();
        Ok(Arc::new(RtcWatch::new(build_opts, watch_opts, tools_opts, hooks_opts, false)?))
    }
/// Extract the runtime config for the watch system based on all config layers.
Extract the runtime config for the watch system based on all config layers.
Extract the runtime config for the watch system based on all config layers .
pub fn rtc_watch(cli_build: ConfigOptsBuild, cli_watch: ConfigOptsWatch, config: Option<PathBuf>) -> Result<Arc<RtcWatch>> {
        let base_layer = Self::file_and_env_layers(config)?;
        let build_layer = Self::cli_opts_layer_build(cli_build, base_layer);
        let watch_layer = Self::cli_opts_layer_watch(cli_watch, build_layer);
        let build_opts = watch_layer.build.unwrap_or_default();
        let watch_opts = watch_layer.watch.unwrap_or_default();
        let tools_opts = watch_layer.tools.unwrap_or_default();
        let hooks_opts = watch_layer.hooks.unwrap_or_default();
        Ok(Arc::new(RtcWatch::new(build_opts, watch_opts, tools_opts, hooks_opts, false)?))
    }
pub fn rtc_watch ( cli_build : ConfigOptsBuild , cli_watch : ConfigOptsWatch , config : Option < PathBuf > ) -> Result < Arc < RtcWatch > > { let base_layer = Self :: file_and_env_layers ( config ) ? ; let build_layer = Self :: cli_opts_layer_build ( cli_build , base_layer ) ; let watch_layer = Self :: cli_opts_layer_watch ( cli_watch , build_layer ) ; let build_opts = watch_layer . build . unwrap_or_default ( ) ; let watch_opts = watch_layer . watch . unwrap_or_default ( ) ; let tools_opts = watch_layer . tools . unwrap_or_default ( ) ; let hooks_opts = watch_layer . hooks . unwrap_or_default ( ) ; Ok ( Arc :: new ( RtcWatch :: new ( build_opts , watch_opts , tools_opts , hooks_opts , false ) ? ) ) }
Extract the runtime config for the watch system based on all config layers.
Extract the runtime config for the watch system based on all config layers .
cli_build
ConfigOptsBuild
cli_watch
ConfigOptsWatch
config
Option<PathBuf>
cli_build
ConfigOptsBuild
cli_watch
ConfigOptsWatch
config
Option<PathBuf>