Improve hot reload speed and process to enable fast development-test cycle
See original GitHub issueTHIS 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.
(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:
- Created 4 years ago
- Reactions:5
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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).
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.