Open rhys117 opened 1 year ago
Sinatra recommends using the rerun gem for auto-reloading.
I couldn't find an existing way to prefix the command when using puma-dev so this would add the ability to configure one.
If there aren't concerns with this approach I'd be happy to draft a usage paragraph for the README as well.
Manually verified with the following .pumaenv file.
.pumaenv
COMMAND_PREFIX="rerun --background --"
Description
Sinatra recommends using the rerun gem for auto-reloading.
I couldn't find an existing way to prefix the command when using puma-dev so this would add the ability to configure one.
If there aren't concerns with this approach I'd be happy to draft a usage paragraph for the README as well.
Testing
Manually verified with the following
.pumaenv
file.