mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-21 23:08:54 -05:00
Merge pull request #121 from jjoos/master
Syncing output when running in foreground.
This commit is contained in:
commit
f575b849a4
@ -142,6 +142,11 @@ module MailCatcher extend self
|
||||
# Stash them away for later
|
||||
@@options = options
|
||||
|
||||
# If we're running in the foreground sync the output.
|
||||
unless options[:daemon]
|
||||
$stdout.sync = $stderr.sync = true
|
||||
end
|
||||
|
||||
puts "Starting MailCatcher"
|
||||
|
||||
Thin::Logging.silent = true
|
||||
|
Loading…
Reference in New Issue
Block a user