Yesterday I posted that excluded files were slowing down my build. Actually that was completely wrong, it was Windows Defender.
I found the solution was:
- Open Windows Security.
- Select “Virus and Threat Protection” > “Virus and Threat Protection Settings”.
- Scroll down and select “Add or Remove Exclusions”.
- Click “Add an Exclusion > Folder”, and add your Hugo project folder (not the folder where the executable is).
My builds went from hanging to happened in a matter of seconds.
P.