reflex
reflex copied to clipboard
reflex run --frontend-only should support hot reload
Describe the bug
When running reflex run --frontend-only
(this is dev mode), hot reload only works for changes made to assets/
folder. We should make it work in general - i.e. if page definitions change (from python files), recompile should occur and dev site updated on the fly.
To Reproduce
reflex run --frontend-only
, change something in the application (python code). Running dev server will not pick up this change.
Expected behavior
Running dev server should pick up this change. An obvious bar is to matchreflex run
behavior (dev mode, backend and frontend up).