Print a message while checking for changes in the working directory.