diff --git a/lib/propshaft/railties/assets.rake b/lib/propshaft/railties/assets.rake index a6160a6..977000d 100644 --- a/lib/propshaft/railties/assets.rake +++ b/lib/propshaft/railties/assets.rake @@ -2,6 +2,10 @@ namespace :assets do desc "Compile all the assets from config.assets.paths" task precompile: :environment do Rails.application.assets.processor.process + if Rails.env.development? + puts "Warning: You are precompiling assets in development. Rails will not " \ + "serve any changed assets until you delete public/assets/.manifest.json" + end end desc "Remove config.assets.output_path"