jason810496 opened a new pull request, #57741:
URL: https://github.com/apache/airflow/pull/57741

   related: #47595
   
   ## Why
   
   Improve development speed by enabling hot-reload, so components don’t need 
to be manually restarted when making changes in airflow-core.
   
   ## What
   
   - Add `--dev` flag support for all component CLIs (except the API server, 
which already supports hot-reload via uvicorn).
   - Leverage the `watchfiles` package to detect file changes and use `psutil` 
to recursively clean up processes.
     - A standard graceful shutdown of the top-level process was insufficient 
because the `airflow serve-log` process was not reliably terminated.
   - No change to `pyproject.toml` is required because `watchfiles` is already 
included through FastAPI’s dependency tree.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to