We need to be able to reproduce the problem to fix it, unless @bep sees something obvious.
With a simple test as you describe, I am unable to reproduce the problem:
git clone --single-branch -b hugo-forum-topic-43260 https://github.com/jmooring/hugo-testing hugo-forum-topic-43260
cd hugo-forum-topic-43260
hugo server
For different reasons (mainly to bail out of recursive partial loops), I added a timeout (defaults to 30s) in the partial func. I would, however, expect the error to say “partial timed out …” … So your error message confuses me, but it’s certainly related to that change.
Can you try to run with a higher timeout value e.g.
Thanks, this didn’t solve the issue. I’ll try the js.Build option as you’ve recommended. I would have to refactor multiple projects though where I have used that approach. Hoping there’s another way