framework
framework copied to clipboard
Watch multiple files for data loaders with multiple sources
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
For JavaScript, this is already covered by #204.