This patch adds a new option :foreman to Guard::Spork. When set, the spork command will be altered to include foreman run at the beginning (but after bundle exec). This mixes in any environment variables included in Foreman's .env file. It's very useful for applications which are deployed to Heroku.
This patch adds a new option
:foreman
toGuard::Spork
. When set, thespork
command will be altered to includeforeman run
at the beginning (but afterbundle exec
). This mixes in any environment variables included in Foreman's.env
file. It's very useful for applications which are deployed to Heroku.