Skip to content
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

Enable restarting the Panel server or reloading the apps #14

Open
MarcSkovMadsen opened this issue Apr 6, 2021 · 1 comment
Open

Enable restarting the Panel server or reloading the apps #14

MarcSkovMadsen opened this issue Apr 6, 2021 · 1 comment

Comments

@MarcSkovMadsen
Copy link

MarcSkovMadsen commented Apr 6, 2021

The jupyter-panel-proxy is quite powerful. But the apps are loaded once when the panel server is started.

I.e. does not support use cases where users are updating their app code. I see use cases where

  • The user is the developer and updates the code her self.
  • The user is just updating the code via git pull.
  • The user is just working on a shared drive where the code is being updated by another user or system team. This could be the case on a Jupyter Hub I am the product owner for at work.

Potential solutions could be

  • Enable adding --auto flag when the server starts. The problem is that this is not quite robust, i.e. the server might get stuck.
  • Enable adding the --reload flag when the server starts. The problem is that this is not quite robust. i.e. the server might get stuck.
  • Enable the user to somehow manually force a restart of the server. The problem is that it needs to be restarted on the same port and base_url.

Maybe this does not have to be solved by jupyter-panel-proxy. Maybe this is as simple as restarting the jupyter (hub) server?? And telling users how to do this :-) But at least this is not a working solution for binder where every change is gone once you restart the jupyter binder server.

@MarcSkovMadsen
Copy link
Author

MarcSkovMadsen commented Apr 6, 2021

I can see that the jupyter-server-proxy will restart the service if it exits with a non-zero exit code. So maybe that it just a possiblity to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant