Hi all, what‘s your opinion: does it make sense to delete /public everytime before running hugo or doesn’t it matter? My question isn’t related to version control as related topics here but simply refers to ‚starting fresh on every build or not‘.
Thanks
It is advisable to do that to avoid stale files being left in your public directory.
Or run hugo with the “cleanDestinationDir” attribute.
hugo --cleanDestinationDir
But beware of the TLDR in this comment. That’s why I personally prefer deleting the folder manually.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.