A
A
Anton Misyagin2018-09-27 10:54:11
Ruby on Rails
Anton Misyagin, 2018-09-27 10:54:11

Why did the developers stop updating assets automatically?

Since some time in the project such undesirable behavior began to be observed. Every time the javascript changes either styles or icons, the cache needs to be cleared in the browser to see the change. I’m tired of doing it manually (. I don’t know what settings it might be connected with. In production, everything is fine. In development, everything is bad and does not depend on changing the browser.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Misyagin, 2018-11-10
@sunnmas

switching to the last rail removed the problem

O
oh_shi, 2018-09-27
@oh_shi

View changelog or compare with default:
config/initializers/assets.rb
config/environments/development.rb
Gemfile

P
Pavel Grudinkin, 2018-09-27
@Hunt666

rake assete:precompile
run by hand?
You can also try:

rake assets:clean
rake tmp:cache:clear

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question