execute_run_command

Function execute_run_command 

Source
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:

  1. Calls the Maintain binary in run mode with merged environment variables
  2. Starts the development server with hot-reload
  3. Watches for file changes

§Arguments

  • profile_name - The resolved profile name
  • config - Land configuration
  • env_vars - Merged environment variables from all sources
  • run_args - Additional run arguments

§Returns

Result indicating success or failure