Changing Front Matter Breaks Menu Active Detection while in dev mode

While using the command hugo server -D --noHTTPCache --disableFastRender --ignoreCache in hugo v0.136.5+extended, if I modify the frontmatter it breaks the menu active detection.

Repro:

  • Using the example provided in the repo:
    git clone --single-branch -b hugo-github-issue-9150 https://github.com/jmooring/hugo-testing hugo-github-issue-9150

  • Start hugo with: hugo server -D --noHTTPCache --disableFastRender --ignoreCache

  • Modify the _index.md frontmatter section e.g., change the title

  • Verify that the menu: defined_in_config_using_pageref doesn’t detect the active field anymore.

I’m I missing some flag in the hugo server command so that I don’t need to restart it everytime I change the frontmatter section, or is this inescapable? Thank you!