HUGO

Hugo partial is not re-rendering content

I have a simple shortcode:

{{with .Site.GetPage (.Get 0)}}
{{ .Content }}
{{ end }}

the usage is:

{{%shortcode “filepath/file.html” %}}

The short code is intended to bring in a file and act as an excerpt as we reuse the content over multiple articles throughout the site.

When I edit the file that is being brought into the main article - the changes are not automatically rendered. It requires a full server stop and restart to view the changes. This happened after I updated from 0.54.0 to 0.64.1 . I’ve been trying to resolve the issue with new versions, and clearing cache. I’ve used the flag --disableFastRender and have the same issue. Trying to spitball here.