mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Provide env flag to disable asset caching, for CSS testing
This commit is contained in:
parent
5f927ba14b
commit
bfa233b454
2 changed files with 7 additions and 3 deletions
|
|
@ -1,3 +1,6 @@
|
|||
# turns off browser asset caching so we can test CSS changes quickly
|
||||
ENV['SIDEKIQ_WEB_TESTING'] = '1'
|
||||
|
||||
require 'sidekiq/web'
|
||||
Sidekiq::Web.app_url = '/'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue