How do I make Firefox auto-refresh on file change?

前端 未结 10 657
半阙折子戏
半阙折子戏 2020-11-29 18:43

Does anyone know of an extension for Firefox, or a script or some other mechanism, that can monitor one or more local files. Firefox would auto-refresh or otherwise update i

10条回答
  •  醉梦人生
    2020-11-29 18:59

    Browsersync can do this from the server side / outside of the browser.

    This can achieve more repeatable results / things that don't require so much clicking.

    This will serve a page and refresh on change

    cd static_content
    browser-sync start --server --files .
    

    It also allows a scripting mode.

提交回复
热议问题