LiveReload不能正常工作Guard(Firefox) [英] LiveReload not working Guard (Firefox)
问题描述
浏览器已连接。
浏览器URL:{command:hello,protocols:[http://livereload.com/protocols/connection-check-1]}
浏览器断开。
这里是我的保护文件。
guard'livereload'do
watch(%r {app /.+\。(erb | haml)})
watch(%r {app / helpers /.+ \.rb})
watch(%r {(public / | app / assets)。+ \。(css | js | html)})
watch(%r {(app / assets /.+\.css)\\.[[ac]ss}){| m | m [1]}
watch(%r {(app / assets /.+\.js)\.coffee}){| m | m [1]}
watch(%r {config / locales /.+ \.yml})
end
我对这个问题做了一些研究,我发现所有人都在报告问题,然后报告说刚刚清理完毕,没有任何开发人员的解释。有趣的!
最新的Firefox似乎无法注入chrome://网址到主机页面取消了相应资源的额外contentaccesible的清单属性。
我已经添加并提交了一个拉请求:https://github.com/livereload/livereload-extensions/pull/8
你可以在这里获取固定的插件包: https://github.com/downloads/siasia/livereload-extensions/LiveReload-2.0 .9.xpi
I'm having a fun issue, I have LiveReload working in Chrome, so I know it's installed right, but I can't for the life of me get it going on Firefox 9.0.1. I activate the icon on my site and it just stays red, with the following symptom showing in my guard terminal.
Browser connected.
Browser URL: {"command":"hello","protocols":["http://livereload.com/protocols/connection-check-1"]}
Browser disconnected.
Here's my guardfile.
guard 'livereload' do
watch(%r{app/.+\.(erb|haml)})
watch(%r{app/helpers/.+\.rb})
watch(%r{(public/|app/assets).+\.(css|js|html)})
watch(%r{(app/assets/.+\.css)\.s[ac]ss}) { |m| m[1] }
watch(%r{(app/assets/.+\.js)\.coffee}) { |m| m[1] }
watch(%r{config/locales/.+\.yml})
end
I did some research on the subject and all I can find are people reporting issues and then reporting back that it just cleared up, without any explanation from the developers. Fun!
Latest Firefox seems to be unable to inject chrome:// urls into the host page unlees the corresponding resource has additional "contentaccesible" manifest attribute.
I've added that and submitted a pull request: https://github.com/livereload/livereload-extensions/pull/8
You can grab the fixed plugin package here: https://github.com/downloads/siasia/livereload-extensions/LiveReload-2.0.9.xpi
这篇关于LiveReload不能正常工作Guard(Firefox)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!