watchexec

Run arbitrary commands when files change. More information: <https://github.com/watchexec/watchexec>.

click the source code to copy install watchexec on any operating system with command-not-found.com