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

Watch multiple files for data loaders with multiple sources #990

Open
Fil opened this issue Mar 6, 2024 · 1 comment
Open

Watch multiple files for data loaders with multiple sources #990

Fil opened this issue Mar 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Fil
Copy link
Contributor

Fil commented Mar 6, 2024

A data loader is not always a single file (it could be data.csv.py calling data-analysis.py and data-model.py. Or a .sh loader calling deno or bun on a .ts file). The timestamp technique we use to decide if a file is stale —and the preview watcher— only consider the entry point data.csv.py. It would be nice to have a mechanism to extend this to more files; however I can't think of one that would be generic without some sort of opt-in configuration.

Adjacent to #332

@Fil Fil added the enhancement New feature or request label Mar 6, 2024
@mbostock
Copy link
Member

mbostock commented Mar 6, 2024

For JavaScript, this is already covered by #204.

@mbostock mbostock changed the title Multiple file data loaders? Watch multiple files for data loaders with multiple sources Mar 20, 2024
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