watchexec
watchexec is a simple, standalone tool that watches a path and runs a command whenever it detects modifications.
Homepage: https://github.com/watchexec/watchexec
Install
curl -fsS https://webi.run/watchexec | sh
curl.exe -fsSA "MS" https://webi.run/watchexec | powershell
webi watchexec