Try replacing cmd.run by cmd.wait, and watch git repo