Whenever files in your working directory change, execute a command, such as "rake test".