Open leehuwuj opened 3 months ago
Additional note: Fortunately, my project has initialized Git so i just need to revert the deleted changes. Then i reran reflex run again and it worked nicely.
Is there anything unusual in your app, like changing reflex.constants
values? or threads modifying the assets
folder?
I'm trying to figure out how to reproduce this issue, which appears to be related to the assets folder monitoring. If you know what I can do to trigger this, please let me know, would like to fix it.
@masenf thank for the response. It seems like it just happened randomly, and nothing affected the constant values or changing the assets either. But if i disabled telemetry then the issue doesn't come up anymore.
import reflex as rx
config = rx.Config(
app_name="app",
telemetry_enabled=False,
)
I'll share the code with you later so you can try to reproduce the issue. In the meantime, I hope you can spot a bug with the sign above! Feel free to discuss if you need more information.
Describe the bug I ran into this issue twice and it looks a serious bug to me which reflex remove almost my whole code folder. Here is my project structure:
After ran
reflex run
it created a.web
folder in the project root path. But it instantly got error then remove everything in theapp
folder.Rxconfig code:
Here is the log:
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Specifics (please complete the following information):
Additional context Add any other context about the problem here.