Context
I try to execute voila dashboards in a nox isolated environment to facilitate development iterations and sharing. the problem is once the nox session is launching voila, it never finishes as voila is not closing itself when I close the tab.
Question
How to make the voila command close when the browser tab is closed?
or (as its equivalent)
How to make the voila command close when the kernel is shut down
How to reproduce
- create a test.ipynb file with a simple
print("hello world")cell - start voila by running
voila test.ipynb - close the tab
- The terminal will catch the "[Voila] Kernel shutdown: xxxxx" by remain active
- only way to stop it is to run
ctrl+c