question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve hot reload speed and process to enable fast development-test cycle

See original GitHub issue

THIS ISSUE WAS FIRST FILED TO PANEL HERE https://github.com/holoviz/panel/issues/849

BUT I WAS INFORMED ITS A FEATURE REQUEST FOR BOKEH

System Info

  • Panel: 0.7.0
  • Bokeh: 1.4.0
  • Python: 3.7.4
  • OS: Windows 8.1
  • Browser: Chrome

My Pain

When developing apps in Panel if often wan’t to see how the change looks. It’s possible to do by using the --dev flag but

  • The restart of the Panel/ Bokeh server is very slow compared to the alternative technologies of Streamlit and Angular that I’m used to.
  • The browser window does not automatically reload. I have to wait for the bokeh server to reload and then I can click refresh. In Streamlit and Angular I do not have to do this. I don’t have to do this when I work with Sphinx either.

hot_reload_process_slow

(Note I have to run panel server as a python module in order for reload to work on windows).

Solutions

  • Improve restart time for Panel/ Bokeh server
  • Enable automatic reload of the browser.

I believe enabling automatic reload of the browser alone would be very, very valuable if its difficult to improve the restart time for the Panel/ Bokeh server.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:5
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bryevdvcommented, Dec 5, 2019

well I certainly want to make opportunities and space for new contributors, for sure, but in this case it’s also a matter of very limited bandwidth on our end. With all the other 2.0 work ongoing I doubt this will be able to be prioritized until at least a few months in to 2020 or later (just setting expectations).

0reactions
MarcSkovMadsencommented, May 11, 2020

Working on a workaround for this (and other things) in Panel here https://discourse.holoviz.org/t/awesome-panel-designer/643/3 to speed up my development experience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improve hot reload speed and process to enable fast ... - GitHub
(Note I have to run panel server as a python module in order for reload to work on windows). Solutions. Improve restart time...
Read more >
Speed up your .NET and C++ development with Hot Reload in ...
Hot Reload injects your changes into the app dynamically and won't trigger a full rebuild of the app. Hot Reload functions the same...
Read more >
Hot Reloading: A Faster Way to Develop Modern Apps - Felt
This post is about the ways Hot Reloading helped our team shorten this cycle, and how to apply it on your React apps...
Read more >
Hot reload - Flutter documentation
Flutter's hot reload feature helps you quickly and easily experiment, build UIs, add features, and fix bugs. Hot reload works by injecting updated...
Read more >
HotSwap: Bringing hot code reloading to Buck
To speed up this process, we built and open-sourced Buck, ... and slow app restart can slow down and add friction to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found