Skip to content

Commit

Permalink
treat dir as single value not array
Browse files Browse the repository at this point in the history
  • Loading branch information
schoblaska committed Feb 9, 2024
1 parent e4cd167 commit acd06a7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/packs/rails/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ class Railtie < ::Rails::Railtie

config.after_initialize do |app|
if defined?(Spring)
puts "Hello Db Blasters!"
Packs::Specification::Configuration.fetch.pack_paths.each do |dir|
puts "#{dir}"
Dir["#{dir}/package.yml"].each { |f|
puts f
Spring.watch(f)
}
file = File.join(dir, "package.yml")
Spring.watch(file)
end
end
end
Expand Down

0 comments on commit acd06a7

Please sign in to comment.