node.js - gulp browser-sync 刷新后台代码 运行之后很慢
ringa_lee
ringa_lee 2017-04-17 14:30:57
0
1
880

  1. 我是用nodejs 启动了一个后台服务 localhost:3000

  2. 然后我改动 views/*.ejs 的文件的时候;

  3. browser-sync 倒是响应了;在刷新浏览器; 可是刷新的很慢;不知道为什么;

ringa_lee
ringa_lee

ringa_lee

reply all(1)
黄舟

Take a look at the run log. Did you change one page but all pages were refreshed? So it becomes very slow?
If so, you can use gulp-changed to refresh only the changed files

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template