DEV: Prevent automatic restart of rails console (and crashing zsh) (PR #13066)

Only a server should be restarted when non-autoloaded ruby files are edited.

GitHub

Oh wow, thanks for catching this! I think I’ll also make another PR to avoid using Process.ppid - I hadn’t considered that parent process might not be bin/unicorn! 🤦