Skip to content

Commit

Permalink
Log command used to start rack if in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanstitt committed Feb 27, 2015
1 parent 8171b06 commit 1b72fec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/guard/jasmine/server.rb
Expand Up @@ -147,6 +147,9 @@ def execute(options, cmd)
cmd.unshift("ruby", "-S")
end
self.cmd = cmd
if options[:debug]
puts "Starting server using: #{cmd.join(' ')}"
end
self.process = ChildProcess.build(*cmd.compact)
process.environment['COVERAGE'] = options[:coverage].to_s
process.environment['IGNORE_INSTRUMENTATION'] = options[:ignore_instrumentation].to_s
Expand Down

0 comments on commit 1b72fec

Please sign in to comment.