framework icon indicating copy to clipboard operation
framework copied to clipboard

Watch multiple files for data loaders with multiple sources

Open Fil opened this issue 1 year ago • 1 comments

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 avatar Mar 06 '24 10:03 Fil

For JavaScript, this is already covered by #204.

mbostock avatar Mar 06 '24 12:03 mbostock