javascript - Caching JS with config.cache_classes -
i'm working rails 4 live streaming future (for sse). , have set in development.rb (if set false, page hanging out):
config.cache_classes = true config.assets.debug = true #config.serve_static_assets = true #config.eager_load = true config.action_controller.perform_caching = false #(!!!)
but! anytime when editing js files, had reload server test in browser. it's hard! can disable js caching?
would grateful ideas!
uncomment assets debug mode.
config.assets.debug = true
Comments
Post a Comment