为什么没有我重新启动WEBrick我的css更改不会显示? [英] Why won't my css changes show without me restarting WEBrick?

查看:146
本文介绍了为什么没有我重新启动WEBrick我的css更改不会显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在rails 3.2项目上做一些简单的CSS编辑,我的更改将不会显示,除非我重新启动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.

我遇到了一些东西,说它可能正在使用public / assets目录,但我不认为这是因为我的更改显示服务器重新启动时。不知道为什么会发生这种情况。

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?

推荐答案

bundle exec rake assets:clean

运行此命令

这篇关于为什么没有我重新启动WEBrick我的css更改不会显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆