A platform for community discussion. Free, open, simple.
DEV: Ensure the correct plugin stylesheets are reloaded in development
David Taylor76c02cac65e8
diff --git a/lib/stylesheet/watcher.rb b/lib/stylesheet/watcher.rbindex 908e5b3617b..089c0643e38 100644--- a/lib/stylesheet/watcher.rb+++ b/lib/stylesheet/watcher.rb@@ -61,7 +61,7 @@ module Stylesheetpaths.map! do |long|plugin_name = nilplugins_paths.each do |plugin_path|- if long.include?(plugin_path)+ if long.include?("#{plugin_path}/")plugin_name = File.basename(plugin_path)breakend