mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-22 15:28:52 -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
|
# Stash them away for later
|
||||||
@@options = options
|
@@options = options
|
||||||
|
|
||||||
|
# If we're running in the foreground sync the output.
|
||||||
|
unless options[:daemon]
|
||||||
|
$stdout.sync = $stderr.sync = true
|
||||||
|
end
|
||||||
|
|
||||||
puts "Starting MailCatcher"
|
puts "Starting MailCatcher"
|
||||||
|
|
||||||
Thin::Logging.silent = true
|
Thin::Logging.silent = true
|
||||||
|
Loading…
Reference in New Issue
Block a user