airbreather / StepperUpper

Some tools for making STEP happen.
MIT License
9 stars 2 forks source link

Watch Download Directory After Detecting Missing Files #25

Open airbreather opened 7 years ago

airbreather commented 7 years ago

Story

  1. Alice starts StepperUpper with some number of missing files that cannot be automatically downloaded.
  2. StepperUpper detects this as usual and displays the HTML page as usual, but does not terminate.
  3. Alice starts downloading the files to the download directory as usual.
  4. As files are placed into the download directory, StepperUpper detects them and checks them the same way that it would have done if they were there in the first place.
  5. After all files have been detected successfully, StepperUpper proceeds as normal.

This would probably be optional behavior, perhaps enabled by default. Terminating with a non-zero exit code on failure is useful behavior.

This would also soft-require the missing.html file to be created somewhere outside of the output directory.