Closed
Description
Dash for Python offers a lovely "hot-reloading" feature, as described in plotly/dash#66, plotly/dash#362, and plotly/dash-renderer#73. Supporting this as in the Python implementation would require
- creating a hash at app initialization, and regenerating it on file change
- adding a route to serve the hash
- front-end hot reloading
- back-end hot reloading (reload the app by restarting the
fiery
session) - adding parameters for the dev tools UI:
dev_tools_hot_reload
,dev_tools_hot_reload_interval
,dev_tools_hot_reload_watch_interval
,dev_tools_silence_routes_logging
On the Python side, we use the Flask debug reloader to reset the hash. fiery
doesn't have native support for something like this feature, but it does allow "Custom Events" which can be manipulated to serve a similar purpose.
State-preserving hot reloading would be really nice to have, as noted in plotly/dash#460, but it has not been implemented in Dash for Python yet either.