Search code examples
ruby-on-railsguardforeman

Foreman running guard with color ouput


I can run guard from within my foreman procfile - but the output is not as colorful as I'd like. The only color I see in my output is from Foreman...

I want to have a guardfile that manages rspec, cucumber and jasmine - AND have that nice color output when those tests run.

It would seem as if foreman ignores guard file settings. Any idea how to change that?


Solution

  • Add the --tty option to your rspec guard cli:

    guard "rspec", :version => 2, :cli => "--tty ...other options..."