How to stop puma-dev server on OSX and Linux

puma-dev is an amazing tool for running your Rails servers locally. You can access your projects at their own domain (with a .dev tld). Unfortunately, there's no built-in way to stop it. This is kind of a bummer since, of course, you need to stop and restart your server every time you add a Gem.

To stop puma-dev on OSX/Linux, you can run this command:

pkill -USR1 puma-dev

To restart the server, simply refresh the page you were on.

If you want to use something like puma-dev -stop, maybe you could give my PR a +1 😉

Happy coding!