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

[js/dotprompt] Partials disappear when developing with Next.js hot reloading #744

Closed
mbleigh opened this issue Aug 4, 2024 · 0 comments
Closed
Labels
bug Something isn't working tooling

Comments

@mbleigh
Copy link
Collaborator

mbleigh commented Aug 4, 2024

This has quickly become the most annoying bug in my Genkit workflow...when defining partials along with Dotprompt, the partials are disappearing from the Handlebars instance frequently (every hot reload perhaps?) when using the Next.js dev server.

I think the fix for this could be implemented along with #566 if partials were essentially re-bootstrapped on every prompt invocation when NODE_ENV=development or GENKIT_ENV=dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tooling
Projects
Status: Done
Development

No branches or pull requests

1 participant