Shell script for refreshing browsers or running tests when files in a monitored directory change