LiveReload not working Guard (Firefox)

前端 未结 3 1276
执念已碎
执念已碎 2021-02-04 14:55

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 ico

相关标签:
3条回答
  • 2021-02-04 15:31

    I had this same problem with Chrome. But it was an error on my part I was accessing my file from:

    file:///path/to/myFile.html
    

    So I just setup a webserver to read my file from:

    http://localhost/myFile.html
    

    and then livereload connected.

    0 讨论(0)
  • 2021-02-04 15:41

    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

    0 讨论(0)
  • 2021-02-04 15:44

    I'm in the same boat. Have you tried using the non-browswer extension method:

    http://help.livereload.com/kb/general-use/using-livereload-without-browser-extensions

    ...also, you can use the following gem to automatically inject the script in your test environment:

    https://github.com/johnbintz/rack-livereload

    0 讨论(0)
提交回复
热议问题