Plack::...starter(3)

✨ NAME ✨

Plack::Loader::Restarter β€” bestie, it's literally the Restarting loader πŸ’…

(also, hi, you're reading the Plack::...starter(3) page from the User Contributed Perl Documentation set, so you know it's giving official-but-also-a-little-feral πŸŽ€)


🌸 SYNOPSIS 🌸

plackup -r -R paths

okay so that's the whole vibe right there. two little flags and you're off πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

So Plack::Loader::Restarter is a loader backend, right? And what it does is implement the -r and -R options for the plackup script. That's its whole job. That's its moment. πŸ‘‘

Here's the tea on how it actually works:

  • it forks the server as a child process 🍼
  • the parent sits there watching the directories for file updates πŸ‘€
  • and the second it gets that notification β€” like, whenever it receives it β€” it kills the child server and restart πŸ’€βœ¨

no cap, that's it. touch a file, baby server gets yoinked, new one spawns. main character energy fr fr.

ngl the killing part sounds mean but that's literally the point, it's a restarter, that's the whole personality 🫢

🌈 SEE ALSO 🌈

  • Plack::Runner πŸ’™
  • Catalyst::Restarter 🧑

and that's the page bestie!! πŸŽ€ this was written for perl v5.42.3, dated 2026-10-18, so if you're reading it way later just know she's an icon and she's doing her best β­πŸ’œ mwah, go restart something 😭πŸ”₯

πŸ“¦ where this page comes from