Skip to content

Commit

Permalink
DEV: Add stub flush_sw task to prevent rebuild errors (#10021)
Browse files Browse the repository at this point in the history
  • Loading branch information
riking committed Jun 10, 2020
1 parent ac55561 commit 5f3fd23
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/tasks/assets.rake
Expand Up @@ -68,6 +68,14 @@ task 'assets:precompile:css' => 'environment' do
end
end

task 'assets:flush_sw' => 'environment' do
begin
# Pending due to test failures.
rescue
STDERR.puts "Warning: unable to flush service worker script"
end
end

def assets_path
"#{Rails.root}/public/assets"
end
Expand Down

0 comments on commit 5f3fd23

Please sign in to comment.