Running a command when a file is updated