Hi,
I want to do this because restarting or switching my kernel within a notebook sets up an infinite loop of the websocket trying to connect failing and retrying. I want to modify the kernel.js as a workaround so that it just reloading the page after killing the session and creating a new session.
Is there a way for me to do modify the kernel.js to do that?
I know that you can define a kernel.js per kernel, but I don't think that will work in my case, as I believe the custom kernel.js runs after the kernel.js linked above, so we'd be stuck there and the custom kernel.js would never run. (please correct me if I'm wrong in that assumption)
Thank you!