web-applicationsbokehlive-update

Bokeh Webapp development: live code updates?


I develop a python Bokeh webapp, that i deploy with bokeh serv webapp.py.

When i change the code the webapp does not change. I have to shutdown/ restart the webapp manually to see the changes. (Just for clarity: This is not about callbacks to update figures)

Is there a better (smoother) way? As a reference I know plotly/Dash features automatic app update as soon as the python file is saved with changes.


Solution

  • This --dev feature was added in April 2019:

    https://github.com/bokeh/bokeh/pull/8255