Spencer Cooley
Spencer Cooley

Reputation: 8851

Why won't my css changes show without me restarting WEBrick?

I am doing some simple css edits on a rails 3.2 project and my changes will not show up unless I restart webrick.

I came across something saying that it may be using the public/assets directory, but I don't think this is the case because my changes show when the server is restarted. Not sure why this is happening.

Does anyone know if there is some sort of configuration that I need to fix to solve this problem?

Upvotes: 3

Views: 444

Answers (2)

Spencer Cooley
Spencer Cooley

Reputation: 8851

I added this to my development.rb file and now it works.

config.assets.digest = false

Upvotes: 2

Sachin R
Sachin R

Reputation: 11876

bundle exec rake assets:clean

run this command

Upvotes: 2

Related Questions