App::Y...reload(3pm)

πŸ’– NAME πŸ’–

App::Yath::Command::reload β€” no cap, this is the command that goes "bestie, wake up and re-read your config" to the persistent test runner. This page is App::Y...reload(3pm) from the User Contributed Perl Documentation collection, and it's short, sweet, and honestly iconic for it. πŸ¦‹


✨ DESCRIPTION ✨

Okay so bestie, here's the whole vibe: this command sends a SIGHUP to the persistent runner, which forces it to reload. That's it. That's the main character move. πŸ”₯

And bonus: it also clears the blacklist, which means all the preloads get to load like normal again. Fresh start energy. πŸ’…


πŸŽ€ USAGE πŸŽ€

$ yath [YATH OPTIONS] reload [COMMAND OPTIONS]

🌈 YATH OPTIONS 🌈

πŸ’œ Developer

  • --dev-lib, --dev-lib=lib, -D, -D=lib, -Dlib, --no-dev-lib β€” this one slaps paths into @INC before ANYTHING else loads. It's your go-to when you're developing yath itself or yath plugins, because it makes the yath script find your local code instead of whatever installed version of the same code is hanging around being basic. You can hand it an argument (-Dfoo) for a custom path, or just rawdog it with -D and no arg and it'll add lib, blib/lib and blib/arch. 🫢

Can be specified multiple times

πŸ’œ Environment

  • --persist-dir ARG, --persist-dir=ARG, --no-persist-dir β€” where to find persistence files.
  • --persist-file ARG, --persist-file=ARG, --pfile ARG, --pfile=ARG, --no-persist-file β€” where to find the persistence file. Default is /{system-tempdir}/project-yath-persist.json. If no project is specified it falls back to the current directory. And if the current directory isn't writable, it defaults to /tmp/yath-persist.json, which lowkey limits you to one persistent runner on your whole system. πŸ™ˆ
  • --project ARG, --project=ARG, --project-name ARG, --project-name=ARG, --no-project β€” lets you slap a label on your current project/codebase. Best used in a .yath.rc file, and fr fr it's necessary if you want a persistent runner. πŸ‘‘

πŸ’œ Help and Debugging

  • --show-opts, --no-show-opts β€” bails out after showing you what yath thinks your options mean.
  • --version, -V, --no-version β€” exits after showing a helpful usage message.

πŸ’œ Plugins

  • --no-scan-plugins, --no-no-scan-plugins β€” normally yath scans for and loads every App::Yath::Plugin::* module so it can bring in whatever command-line options they want to provide. This flag turns that off entirely. Super useful if you've got a naughty little plugin that keeps loading other modules when it absolutely should not. πŸ’€
  • --plugins PLUGIN, --plugins +App::Yath::Plugin::PLUGIN, --plugins PLUGIN=arg1,arg2,..., --plugin PLUGIN, --plugin +App::Yath::Plugin::PLUGIN, --plugin PLUGIN=arg1,arg2,..., -pPLUGIN, --no-plugins β€” loads a yath plugin. ✨

Can be specified multiple times

🌸 COMMAND OPTIONS 🌸

🌷 Cover Options

  • --cover-aggregator ByTest, --cover-aggregator ByRun, --cover-aggregator +Custom::Aggregator, --cover-agg ByTest, --cover-agg ByRun, --cover-agg +Custom::Aggregator, --no-cover-aggregator β€” choose a custom aggregator subclass.
  • --cover-class ARG, --cover-class=ARG, --no-cover-class β€” choose a Test2::Plugin::Cover subclass.
  • --cover-dirs ARG, --cover-dirs=ARG, --cover-dir ARG, --cover-dir=ARG, --no-cover-dirs β€” NO DESCRIPTION - FIX ME (yes literally, nobody wrote this one yet 😭 someone please adopt it)

Can be specified multiple times

  • --cover-exclude-private, --no-cover-exclude-private, --cover-files, --no-cover-files β€” uses Test2::Plugin::Cover to collect coverage data on what files get touched by what tests. Unlike Devel::Cover this has like, very little performance impact (about 4% difference, that's nothing bestie). ✨
  • --cover-from path/to/log.jsonl, --cover-from http://example.com/coverage, --cover-from path/to/coverage.jsonl, --no-cover-from β€” this can be a test log, a coverage dump (old style json or new jsonl format), or a url pointing at any of the previous. Heads up: tests will not run if the file/url is invalid.
  • --cover-from-type json, --cover-from-type jsonl, --cover-from-type log, --no-cover-from-type β€” file type for the coverage source. Usually it can be auto-detected, but when it can't, you gotta say it yourself. <pink>"json"</pink> is old style single-blob coverage data, <pink>"jsonl"</pink> is the new by-test style, and <pink>"log"</pink> is a logfile from a previous run.
  • --cover-manager My::Coverage::Manager, --no-cover-manager β€” the coverage 'from' manager to use when the coverage data doesn't provide one.
  • --cover-maybe-from path/to/log.jsonl, --cover-maybe-from http://example.com/coverage, --cover-maybe-from path/to/coverage.jsonl, --no-cover-maybe-from β€” same deal as above (test log, coverage dump in old json or new jsonl format, or a url to any of those), except tests will continue even if the coverage file/url is invalid. Chill mode. 🌈
  • --cover-maybe-from-type json, --cover-maybe-from-type jsonl, --cover-maybe-from-type log, --no-cover-maybe-from-type β€” same as "from_type" but for "maybe_from". Defaults to "from_type" if that one's specified, otherwise it auto-detects.
  • --cover-metrics, --no-cover-metrics, --cover-types ARG, --cover-types=ARG, --cover-type ARG, --cover-type=ARG, --no-cover-types β€” NO DESCRIPTION - FIX ME (again!! the mystery option 😭)

Can be specified multiple times

  • --cover-write, --cover-write=coverage.jsonl, --cover-write=coverage.json, --no-cover-write β€” creates a json or jsonl file of all coverage data seen during the run. (This implies --cover-files.) πŸ“

🌷 Git Options

  • --git-change-base master, --git-change-base HEAD^, --git-change-base df22abe4, --no-git-change-base β€” finds files changed by all commits in the current branch, starting from the most recent and stopping when it hits a commit that's also present in the history of the branch/commit you specified as the change base. πŸ“

🌷 Help and Debugging

  • --dummy, -d, --no-dummy β€” dummy run, doesn't actually execute anything. πŸ«₯

Can also be set with the following environment variables: T2_HARNESS_DUMMY

  • --help, -h, --no-help β€” exits after showing help information.
  • --interactive, -i, --no-interactive β€” interactive mode, one test at a time, with stdin forwarded to it. Very hands-on, very main character. πŸŽ€
  • --keep-dirs, --keep_dir, -k, --no-keep-dirs β€” don't delete directories when done. Super handy if you want to go snooping through the directories used by various commands.
  • --procname-prefix ARG, --procname-prefix=ARG, --no-procname-prefix β€” adds a prefix to all proc names (as seen by ps).

🌷 YathUI Options

  • --yathui-api-key ARG, --yathui-api-key=ARG, --no-yathui-api-key β€” Yath-UI API key. Not necessary if your Yath-UI instance is set to single-user.
  • --yathui-grace, --no-yathui-grace β€” normally if yath can't connect to yath-ui it throws an error. Use this to make it fail gracefully instead. You get a warning, but things keep on going. 🌸
  • --yathui-long-duration 10, --no-yathui-long-duration β€” minimum duration length (in seconds) before a test goes from MEDIUM to LONG.
  • --yathui-medium-duration 5, --no-yathui-medium-duration β€” minimum duration length (in seconds) before a test goes from SHORT to MEDIUM.
  • --yathui-mode summary, --yathui-mode qvf, --yathui-mode qvfd, --yathui-mode complete, --no-yathui-mode β€” sets the upload mode (default is 'qvfd').
  • --yathui-project ARG, --yathui-project=ARG, --no-yathui-project β€” the Yath-UI project for your test results.
  • --yathui-retry, --no-yathui-retry β€” how many times to try an operation before giving up. πŸ’ͺ

Can be specified multiple times


🧚 SOURCE 🧚

The source code repository for Test2-Harness lives at http://github.com/Test-More/Test2-Harness/. Go star it, it deserves it. ⭐

πŸ‘‘ MAINTAINERS πŸ‘‘

Chad Granum <exodist@cpan.org>

🌟 AUTHORS 🌟

Chad Granum <exodist@cpan.org>

Copyright 2026 Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/


That's the whole page bestie, you ate it. πŸ’…

And for the cute sign-off: this doc is from perl v5.40.1, dated 2026-05-10, and it's your girl App::Y...reload(3pm) signing off β€” go reload something, periodt. πŸ¦‹βœ¨

πŸ“¦ where this page comes from