reflex/reflex
Masen Furer 82279b4f1a
Simplify run_process_with_fallback logic (#3089)
* Simplify `run_process_with_fallback` logic

Include log streaming for initial command and fallback command. This is
necessary because if the command produces significant output that is not
consumed, it can fill the OS pipe and block the process from running.

* Avoid overwriting next.config.js when content has not changed

Windows cannot seem to detect when the file changes but the
content is the same and triggers a much longer hot-reload
cycle to deal with the "updated next.config.js"

* Handle case where `next.config.js` doesn't exist yet
2024-04-15 14:49:53 -07:00
..
.templates Fix For When user selects Empty files using File Upload (#3051) 2024-04-11 15:35:15 -07:00
compiler Force pydantic v1 for sqlmodel compatibility (#3026) 2024-04-11 13:42:30 -07:00
components Fix annotated EventHandler (#3076) 2024-04-11 15:34:00 -07:00
constants [REF-1586] Use bun as a package manager on windows (#2359) 2024-04-11 16:43:01 -07:00
custom_components Get project name from pyproject (#3048) 2024-04-08 18:49:24 -07:00
experimental add run_in_thread (#3077) 2024-04-11 16:42:14 -07:00
middleware feat: Synchronizing localStorage between tabs using browser events (#2533) 2024-02-20 15:14:55 -08:00
utils Simplify run_process_with_fallback logic (#3089) 2024-04-15 14:49:53 -07:00
__init__.py adding a reflex logo component (#2994) 2024-04-04 11:26:25 -07:00
__init__.pyi adding a reflex logo component (#2994) 2024-04-04 11:26:25 -07:00
__main__.py add __main__ entry point to allow python -m reflex (#1516) 2023-08-03 14:26:50 -07:00
admin.py Allow view overrides for registering models with admin (#1249) 2023-06-27 14:08:09 -07:00
app_module_for_backend.py [REF-2172] Add DECORATED_PAGES before compiling in thread (#2841) 2024-03-12 10:28:37 -07:00
app.py [REF-2392] Expose next.config.js transpilePackages key (#3006) 2024-04-11 13:50:42 -07:00
app.pyi Lendemor/improve coverage (#2988) 2024-04-04 14:31:43 +02:00
base.py [REF-2127] Loosen requirements (#2796) 2024-03-29 09:26:53 -07:00
config.py Lendemor/improve coverage (#2988) 2024-04-04 14:31:43 +02:00
config.pyi Lendemor/improve coverage (#2988) 2024-04-04 14:31:43 +02:00
event.py Fix annotated EventHandler (#3076) 2024-04-11 15:34:00 -07:00
model.py Force pydantic v1 for sqlmodel compatibility (#3026) 2024-04-11 13:42:30 -07:00
page.py Fix typo under page.py (#3001) 2024-04-04 09:26:45 -07:00
reflex.py [REF-2392] Expose next.config.js transpilePackages key (#3006) 2024-04-11 13:50:42 -07:00
route.py [REF-1741] Disallow routes with /api prefix (#2711) 2024-02-26 19:34:51 -08:00
state.py [REF-2219] Avoid refetching states that are already cached (#2953) 2024-03-29 09:42:25 -07:00
style.py use dict instead of set to store hooks (#2995) 2024-04-03 17:13:42 -07:00
testing.py Support reflex app creation from templates from github (#2490) 2024-04-04 15:31:34 -07:00
vars.py use dict instead of set to store hooks (#2995) 2024-04-03 17:13:42 -07:00
vars.pyi use dict instead of set to store hooks (#2995) 2024-04-03 17:13:42 -07:00