Fix ordering of asset rebuild
authorTom Hughes <tom@compton.nu>
Wed, 29 Aug 2018 08:10:40 +0000 (09:10 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 29 Aug 2018 08:10:40 +0000 (09:10 +0100)
cookbooks/web/resources/rails_port.rb

index 17dfe64..067c133 100644 (file)
@@ -126,6 +126,7 @@ action :create do
     group new_resource.group
     notifies :run, "execute[#{rails_directory}/Gemfile]"
     notifies :run, "execute[#{rails_directory}/app/assets/javascripts/i18n]"
+    notifies :run, "execute[#{rails_directory}/public/assets]"
     notifies :delete, "file[#{rails_directory}/public/export/embed.html]"
     notifies :restart, "passenger_application[#{rails_directory}]"
   end