lib/ember-cli/middleware.rb in ember-cli-rails-0.1.13 vs lib/ember-cli/middleware.rb in ember-cli-rails-0.2.0
- old
+ new
@@ -17,10 +17,10 @@
private
def enable_ember_cli
@enabled ||= begin
- if Helpers.use_live_recompilation?
+ if EmberCLI.env.development?
EmberCLI.run!
else
EmberCLI.compile!
end