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

[REF-2619] Reflex does not re-init when the base template changes #3120

Closed
masenf opened this issue Apr 19, 2024 · 0 comments · Fixed by #3121
Closed

[REF-2619] Reflex does not re-init when the base template changes #3120

masenf opened this issue Apr 19, 2024 · 0 comments · Fixed by #3121
Assignees
Milestone

Comments

@masenf
Copy link
Collaborator

masenf commented Apr 19, 2024

Describe the bug
Prior to 0.4.7 if the reflex version that ran reflex init differs from the version running reflex run a message would be printed telling the user to re-init. This check is now missing, and template errors can result.

To Reproduce
Install reflex==0.4.2 and create a new blank project.

Upgrade to reflex==0.4.8 and run reflex run.

A browser error appears.

Expected behavior
Reflex automatically re-runs reflex init when needed.

REF-2619

@masenf masenf changed the title Reflex does not re-init when the base template changes [REF-2619] Reflex does not re-init when the base template changes Apr 19, 2024
masenf added a commit that referenced this issue Apr 19, 2024
This check was accidentally removed in #3011, so adding it back.

Fix #3120
@masenf masenf self-assigned this Apr 19, 2024
@masenf masenf modified the milestones: v.30, v.31 Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant