-
Notifications
You must be signed in to change notification settings - Fork 6
parent templates aren't compiled when children change #2
Comments
I agree this should be the case. I'm not sure when I can get around to tackling this myself; pull requests are appreciated. |
Check out the newly published |
I can confirm that neither 0.3.1 nor 0.3.2 fix this issue. I'm having the same proglem as Ramblurr. |
Alright, I agree with both of you that this would be a great feature. However, I'm looking around at the other pre-compilers for brunch as well as the nunjucks docs and I can't find any examples of this in practice. I know that this has been implemented in plenty of other tools (Django and SASS come to mind), but I don't know the logistics of adding this into a brunch plugin. |
To resolve this, the best option would be to become a plugin for brunch-static. |
Quite old topic, but still valid :-) In gulp I solved this problem by setting the gulp to watch changes in "partials" and "layouts" folders and after any change gulp forced to recompile all files in "pages" folder. Is it possible to set the same approach in brunch-config.js? |
If I have a template, index.html, consisting of:
When I edit
foo_bar.html
, I expectindex.html
to be recompiled as well, but currently this isn't happening.The text was updated successfully, but these errors were encountered: