Auto-reload browser when I save changes to html file, in Chrome?

后端 未结 23 2085
半阙折子戏
半阙折子戏 2020-12-12 11:46

I\'m editing an HTML file in Vim and I want the browser to refresh whenever the file underneath changes.

Is there a plugin for Google Chrome that will listen for ch

23条回答
  •  不思量自难忘°
    2020-12-12 12:32

    This can be done using a simple python script.

    1. Use pyinotify to monitor a particular folder.
    2. Use Chrome with debugging enabled. Refresh can be done via a websocket connection.

    Full details can be referred here.

提交回复
热议问题