步骤:
注:必须配合另外一款本地服务插件才能用(SublimeServer)
1,,sublime 安装liveReload插件
2,浏览器安装liveReload扩展插件并启动,插件中心的圆心为实心即可
3,sublime配置:Preference ==> Package Settings ==> LiveReload ==> Settings - Default 。粘贴一下代码替换之前的配置
"enabled_plugins": [
"SimpleReloadPlugin",
"SimpleRefresh"
]
4,开启sublime的插件:Ctrl+Shift+P ==> LiveReload ==> enable/disable plug-ins ==> simple reload;