Even if config.assets.digest = false is set Sprockets 3.0 keep adding .self. to all static files:
application.css becomes application.self.css?body=1
How to disable adding self? It is needed for correct browsersync work.
In Sprockets 3, .self.css is added because you have the config.assets.debug = true config set (not the digest config, that's unrelated).
If you add the following to your development.rb or production.rb file, it will work as you expect:
config.assets.debug = false
Downgrading sprockets worked for me. Add the following to your Gemfile
gem 'sprockets', '2.11.0'
and run
bundle update sprockets
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With