astro dev restart
The behavior and format of this command are the same for both Astro and Astro Private Cloud.
Stop your Airflow environment, rebuild your Astro project into a Docker image, and restart your Airflow environment with the new Docker image.
This command can be used to rebuild an Astro project and run it locally. For more information, read Build and run a project locally.
Usage
In standalone mode, this command recreates the virtual environment instead of rebuilding a Docker image. If you started your environment with astro dev start --standalone without setting dev.mode to standalone, pass --standalone so this command restarts your standalone environment.