Watch directory and trigger external command on file modification events