Jupyterlab extension to autosave files on focus change
conda install conda-forge::jupyterlab-autosave-on-focus-change