npm i browser-sync -g
browser-sync start --server --files "views/*.html"
浏览器调试之 实时更新 browser-sync
原文:https://www.cnblogs.com/fanruili/p/13748983.html