I would love to use BrowserSync for development. However, page loading (not only reloading after changes) is extremely slow.
I use the proxy
mode. Browsing the page without BrowserSync is fast as it should be.
One reason may be the following error when I install BrowserSync:
> ws@0.4.31 install /usr/local/lib/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
SOLINK_MODULE(target) Release/bufferutil.node: Finished
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
SOLINK_MODULE(target) Release/validation.node: Finished
I installed node from scratch (using brew
and the package installer), but couldn't get rid of the error.
Furthermore, it doesn't make a difference if BrowserSync is run using Gulp or over the command line.
Any idea?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…