← Tools

cpl watch

check, lint and test on every save

usage: cpl watch <problem> [options]

On every save of the problem, its tests, or the `--fast` program: reports
errors, then lints, then runs the cases in <problem>.tests/.

options:
  --once             run one round and exit, with the round's exit code
  --fast PROG        run this instead of building the problem
  --checker PROG     judge with `PROG <input> <output> <answer>`; exit 0 accepts
  --interactor PROG  judge by talking to `PROG <input>`; exit 0 accepts
  --time-limit MS    per case (default: the problem's limit)

Generated from cpl 0.2.2 (dev, a0d0078e).