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 re-run cell if content changed #27

Open
ihrke opened this issue Feb 10, 2015 · 1 comment
Open

automatically re-run cell if content changed #27

ihrke opened this issue Feb 10, 2015 · 1 comment

Comments

@ihrke
Copy link
Collaborator

ihrke commented Feb 10, 2015

I think it would be convenient to re-run cells whose content has changed.
One way is to hash the cells' code and put it into the pickle file and compare it when re-running.
We could enable/disable this behavior with some configuration flag, e.g., --enable-auto-rerun.

@vascotenner
Copy link

At this moment cache function does not store the code yet. In the function definition are some traces that this is very easy, including the line:

code = cell if cell.endswith('\n') else cell+'\n'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants