Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pages using Pug templates are not rerendering when updating partials included in those templates #3069

Closed
harrislapiroff opened this issue Oct 12, 2023 · 2 comments

Comments

@harrislapiroff
Copy link

Operating system

macOS Ventura 13.3.1 (a)

Eleventy

2.0.1

Describe the bug

  1. I have a page using a pug template, say page.pug and that template includes another pug template with include partial.pug.
  2. I run npx @11ty/eleventy --serve to watch and rebuild my site
  3. I update partial.pug
  4. Changes are not reflected on the site.
  5. As a workaround I trigger a save to page.pug and changes are reflected on the site.

Reproduction steps

See the reproduction URL for reproduction details.

Expected behavior

Pages should be rerendered when partials that the layout template depends on change.

Reproduction URL

https://github.com/harrislapiroff/11ty-pug-bug

Screenshots

No response

@aschrab
Copy link
Contributor

aschrab commented Oct 21, 2023

This seems to be the same issue as 11ty/eleventy-plugin-template-languages#3, and I believe it would be fixed by my PR #3059.

@zachleat
Copy link
Member

zachleat commented Dec 1, 2023

Please follow along at 11ty/eleventy-plugin-template-languages#3, thank you @aschrab!

@zachleat zachleat closed this as completed Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants