plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.
https://plotly.com/dash
MIT License
21.16k stars 2.04k forks source link

Failure in Hot reload & clientside callbacks #2496

Open T4rk1n opened 1 year ago

T4rk1n commented 1 year ago

Hot reload doesn't work with clientside callbacks, the frontend is reloaded but the new functions are not available and the browser must be refreshed to take effect.

RenaudLN commented 1 year ago

Note that this only happens for inline clientside callbacks, the ones defined in the assets folder and used with ClientsideFunction are properly reloaded when the script file is saved.

nickmelnikov82 commented 1 year ago

Hi, the solution to your problem is described in the article on StackOwerflow

RenaudLN commented 1 year ago

The problem is not that the app doesn't reload, it is that the online clientside callbacks are not updated.