Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically back up notebooks without a file #736

Merged
merged 12 commits into from Dec 4, 2021
Merged

Conversation

jonatanklosko
Copy link
Member

Closes #730.

Now, if the session doesn't have a file, we autosave to USER_CACHE/livebook/notebooks. The location can be customized with --autosave-dir or LIVEBOOK_AUTOSAVE_DIR and disable by passing "none" to either of those.

@jonatanklosko
Copy link
Member Author

Since we do it behind the scenes I think it's fine to show the info box without a time threshold. Here's the UI:

autosave.mp4

lib/livebook/session.ex Outdated Show resolved Hide resolved
@jonatanklosko jonatanklosko merged commit f0606b1 into main Dec 4, 2021
@jonatanklosko jonatanklosko deleted the jk-autosave branch December 4, 2021 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto save for new notebooks
2 participants