correct with brackets

This commit is contained in:
Sam 2017-06-20 15:52:50 -04:00
parent a289ae67e1
commit 492eed70ab

@ -54,7 +54,7 @@ Discourse::Application.configure do
config.developer_emails = emails.split(",").map(&:downcase).map(&:strip)
end
if defined? Rails::Server || defined? Puma
if defined?(Rails::Server) || defined?(Puma)
require 'stylesheet/watcher'
STDERR.puts "Starting CSS change watcher"
@watcher = Stylesheet::Watcher.watch