watchfiles

!https://watchfiles.helpmanual.io/

Copy this post

Simple, modern and high performance file watching and code reload in python.