When the jupyterhub starts, how can it read the jupyterhub_config.py in real time.

If i modify jupyterhub_config.py when the jupyterhub starting ,how can jupyterhub know the changes.

JupyterHub doesn’t automatically detect configuration changes, you’ll have to stop and restart it yourself. If you want to automate it you could perhaps write a script that detects changes to your config file and restarts JupyterHub for you?

1 Like

@Chenjingliang1 for an example of such restarting script script, take a look at this GitHub - ktaletsk/jupyterhub-rtc-config-wrapper: Example JupyterHub deployment with auto-generating server sharing permissions