Watch a script and do something when it changes