mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
also watch CSS in unicorn on dev
This commit is contained in:
@@ -52,7 +52,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) || defined?(Unicorn)
|
||||
require 'stylesheet/watcher'
|
||||
STDERR.puts "Starting CSS change watcher"
|
||||
@watcher = Stylesheet::Watcher.watch
|
||||
|
||||
Reference in New Issue
Block a user