在项目目录下安装 hexo-browsersync 插件

npm install hexo-browsersync --save

hexo s启动服务后,每次保存 Markdown 文件都会实时更新页面。