lib/ember-cli/app.rb in ember-cli-rails-0.0.16 vs lib/ember-cli/app.rb in ember-cli-rails-0.0.17
- old
+ new
@@ -144,10 +144,10 @@
# Sometimes happens when starting multiple Unicorn workers.
# Ignoring...
end
def add_assets_to_precompile_list
- Rails.configuration.assets.precompile << /(?:\/|\A)#{name}\//
+ Rails.configuration.assets.precompile << /\A#{name}\//
end
def command(options={})
watch = options[:watch] ? "--watch" : ""
"#{ember_path} build #{watch} --environment #{environment} --output-path #{dist_path} #{log_pipe}"