-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot reloading support in Dash.jl #20
Comments
Hi |
Thanks @waralex I totally understand. I am new to even python Dash, so I have a parallel process of pushing my julia code through pyjulia and using python Dash, versus native Julia dash. So that is cool. I will keep playing around with the Julia dash, just to see how it is working. Let me know if I can be of any assistance. |
Dash for Python's "hot-reloading" feature is described in plotly/dash#66, plotly/dash#362, and plotly/dash-renderer#73. Supporting this as in the Python and R implementations would require
On the Python side, we use the Flask debug reloader to reset the hash. We would need to find a comparable approach using HTTP.jl instead. |
@waralex Alexandr, so should the hot-reload feature work now? Seems to indicate that the PR was merged. |
@00krishna Yes, it works in dev branch. |
Oh excellent. Nice to know. I can give it a try. If I have any issues, I can always flip back to master branch. |
@00krishna dev is already very different from master |
Maybe this is a stupid question, but how does the hot reloading work practically?
I tried the following:
So I put the above code in a file called
where I get the following output:
If I now change the code in my module nothing happens, even if I refresh the page in my browser. |
Hi @MLackner |
This feature was added in #25, and is available now in the version released to the Julia Registry. Closing this issue as resolved. |
Hey folks, I am just trying to start using Plotly Dash, just to get a feel for it. So I am just logging issues you probably know about, but just in case others run into the same issues they can reference the issues.
I notice that the hot reloading does not seem to work. When I run:
run_server(app, "0.0.0.0", 8080, debug=true)
the code does not seem to reload upon update to the original file. That might be related to the recompilation that julia usually does. Is there some planned workaround for this?
Thanks again for all the work you are all doing.
The text was updated successfully, but these errors were encountered: