def compile_app(
    reload: bool = False,
    export: bool = False,
    dry_run: bool = False,
    check_if_schema_up_to_date: bool = False,
) -> None:
    """Compile the app module based on the default config.

    Args:
        reload: Re-import the app module from disk
        export: Compile the app for export
        dry_run: If True, do not write the compiled app to disk.
        check_if_schema_up_to_date: If True, check if the schema is up to date.
    """
    get_compiled_app(
        reload=reload,
        export=export,
        dry_run=dry_run,
        check_if_schema_up_to_date=check_if_schema_up_to_date,
    )
Compile the app module based on the default config.

    Args:
        reload: Re-import the app module from disk
        export: Compile the app for export
        dry_run: If True, do not write the compiled app to disk.
        check_if_schema_up_to_date: If True, check if the schema is up to date.
    
reflex/utils/prerequisites.py