Gulp browser-sync refresh background code runs slowly

  node.js, question


  1. I started a background service localhost:3000 with nodejs

  2. Then when I changed the files of views/*.ejs;

  3. Browser-sync responded; Refreshing the browser; But the refresh is very slow; I don’t know why.

Take a look at the running log. Did you change one page but all the pages were refreshed? So it’s getting slow?
If yes, it can be usedgulp-changedOnly the changed files are refreshed