Join GitHub today
Panic on batch-resizing images during livereload #2625
The following panic occurred while I was batch resizing images with
I use hugo often and don't regularly experience crashes, but today began working on a big file and I discovered that I can reliably crash hugo (e.g. every 5s) with the stack trace in this issue by having a large file open in a browser and editing and saving it frequently. The size is 5284765 bytes of generated HTML in my case. I tried trimming this file to see if there's a specific file size the triggers the crash, but I can't reliably zero in on a semi-precise threshold.
It would be great to fix the race condition. It's very annoying, and not rare in my case.