diff --git a/Gemfile.lock b/Gemfile.lock index eb89e78..6081b9e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - ruby_motion_query (1.3.1) + ruby_motion_query (1.3.2) GEM remote: https://rubygems.org/ diff --git a/motion/ext.rb b/motion/ext.rb index 3608f6c..23ceba4 100644 --- a/motion/ext.rb +++ b/motion/ext.rb @@ -77,10 +77,11 @@ def enable_rmq_live_stylesheets(interval) puts path_query if @live_reload_debug stylesheet_file_paths = Dir.glob(path_query) stylesheet_file_paths.delete_if{|stylesheet| stylesheet =~ /application_stylesheet\.rb$/} + puts stylesheet_file_paths if @live_reload_debug stylesheets = stylesheet_file_paths.inject({}) do |out, stylesheet_path_file| klassname = File.basename(stylesheet_path_file, '.rb') - klassname.gsub!("_", " ").gsub!(/\b(?