Prevent infinite loops when running with jekyll serve --watch