fn execute_run_command(
profile_name: &str,
config: &LandConfig,
env_vars: &HashMap<String, String>,
run_args: &[String],
) -> Result<(), String>Expand description
Execute the run command with dual-path environment injection.
This function:
- Calls the Maintain binary in run mode with merged environment variables
- Starts the development server with hot-reload
- Watches for file changes
§Arguments
profile_name- The resolved profile nameconfig- Land configurationenv_vars- Merged environment variables from all sourcesrun_args- Additional run arguments
§Returns
Result indicating success or failure