最简单粗暴的方法:进入项目根目录,执行命令browser-sync start --server --files "**" 监听所有 转载于:https://www.cnblogs.com/fanjuncheng666/p/9469385.html