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

Detect when attached files change during live preview, and automatically re-run affected cells #22

Closed
mbostock opened this issue Oct 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

The preview server could watch attached files, and when an attached file changes, it could automatically re-run referencing cells. This way you can update a file and the preview updates immediately without having to reload.

Note that we might want to debounce file watching in the case of streaming writes.

@mbostock mbostock added the enhancement New feature or request label Oct 18, 2023
@wiltsecarpenter wiltsecarpenter self-assigned this Oct 18, 2023
@wiltsecarpenter
Copy link
Contributor

This is now done, without any debouncing.

@mbostock
Copy link
Member Author

Fixed in f25420f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants