Highly recommend the inotify tools. It makes things like auto reloading very easy to setup.

Though it looks like unmaintained, I use watchdog[1] for automatically running build and test commands on file change.

[1] https://github.com/gorakhargosh/watchdog