Hello everyone,
I’ve been playing with JupyterLite for a few weeks. I noticed a strange behavior with the use of the jupyter-lite.json file. I’ve added an extension to extend the launcher. Therefore I need to disable the original Launcher so that my custom one replace it. I’m using the following as my jupyter-lite.json:
{
"jupyter-lite-schema-version": 0,
"jupyter-config-data": {
"disabledExtensions": ["@jupyterlab/launcher-extension"]
},
"faviconUrl": "./lab/favicon.ico"
}
When I build and then serve JupyterLite for the first time, it works fine. The Launcher is deactivated.
Now, if I delete the output or “dist” folder, build again and then serve JupyterLite, the jupyter-lite.json file is not taken into account. The Launcher isn’t deactivated. While investigating the problem I found out that if I update the json-lite.json and save it, then serving JupyterLite again would take it into account.
I was reluctant to open an issue as I’m not sure I’m doing things correctly here. But this behavior seems unexpected.
Any insights or advice on how to avoid this problem?
Thank you