Chrome CSS注入突然不起作用 [英] Chrome CSS injection suddenly not working

查看:172
本文介绍了Chrome CSS注入突然不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用DevTools在浏览器中编辑我的SCSS。我有工作区设置,文件映射,源代码生成和grunt编译我的.scss文件的任何更改。

I use DevTools for in-browser editing of my SCSS. I have the workspace setup, files mapped, sourcemaps generated, and grunt compiling any changes to my .scss files.

在过去一年,Chrome已成功向我的css文件到我正在处理的本地站点中。但是直到最近,这停止为我的所有网站工作。当我从Chrome进行更改时,仍然会编译css文件,但不会注入更改。

For the last year Chrome has successfully injected any changes to my css files into the local site I'm working on. However just recently this stopped working for all of my sites. The css file is still compiled when I make changes from Chrome, but the changes are not injected.

有关为什么的任何想法?

Any ideas on why?

推荐答案

在开发者工具设置中(点击右上角的cog),您应该会看到一个Auto-reload generated CSS选项。是否打勾?

In the developer tools settings (click the cog at the top-right), you should see an "Auto-reload generated CSS" option. Is that ticked?

这篇关于Chrome CSS注入突然不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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