Add better logging to the build_docs_on_change script