watchexec - watch file changes and run a command
Awesome tool to run something on file change: watchexec
I used this while learning Golang, with this simple command:
# '-e go': define the file extension to monitor
# 'go test': the command to be run on file change
watchexec -e go go test
This surely became one of my favorite #tools