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

dependent cells don't stay up-to-date with some dependency changes #14

Open
jaked opened this issue Apr 25, 2024 · 0 comments
Open

dependent cells don't stay up-to-date with some dependency changes #14

jaked opened this issue Apr 25, 2024 · 0 comments

Comments

@jaked
Copy link
Collaborator

jaked commented Apr 25, 2024

E.g. if you edit a dependency in a way that breaks a dependent cell (e.g. change a name), then revert, the dependent cell is still broken (because the link between dependent and dependency is lost when the dependency is broken).

Ideally dependents would always be up-to-date with their dependencies, and sometimes the dependencies need to be dynamically discovered. E.g. if a cell uses an undefined name (and fails) then another cell defines it, the first cell should be re-run.

This doesn't really fit Vite's dependency model so it might be hard to accomplish. But maybe we want our own dependency tracking in order to support runtime state dependencies in addition to code dependencies.

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

No branches or pull requests

1 participant