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

:template-fn option not working on re-evaluation of build! #154

Open
metasoarous opened this issue May 10, 2021 · 1 comment
Open

:template-fn option not working on re-evaluation of build! #154

metasoarous opened this issue May 10, 2021 · 1 comment

Comments

@metasoarous
Copy link
Owner

Setting :template-fn does seem to do the right thing on first execution of build!. However, changing :template-fn on subsequent executions does not seem to have the desired effect. This may be operator error, but should verify and fix if possible.

@metasoarous
Copy link
Owner Author

LOL; Indeed this does appear to have been at least in part operator error. Re-evaluating build with a new :template-fn does not immediately re-render with the new template, but will when you change an input file, triggering a rebuild. I tried this before posting above, however there was an error in my template-fn which obfuscated the intended effect, making me think it wasn't getting picked up at all.

So... still room for improvement here, but workaround for now is to just manually trigger a rebuild on any files of interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant