Closed codeofsumit closed 9 years ago
I don't see a really easy way. The BS configuration UI doesn't allow to stop "live reloading", it could be a feature to ask them.
To stop livereload, the only way I see is to comment browserSync.reload
calls in the gulp scripts.
Ok thank you!
Turns out, it is possible:
If you click on "disable all", auto-reload stops. Even if you re-enable each options by hand, it'll not auto-reload until you click "enable all" again.
No idea if that is a bug or just bad UI. In any case, I opened an issue about it here. https://github.com/BrowserSync/browser-sync/issues/802
You can also set codeSync: false
in the Browsersync config
Sometimes we just want to edit lots of little things in our application, save each one and reload when we want to take a look at it. Especially true, when a reload fetches multiple APIs and needs 15 seconds to load.
So how can we
gulp serve
with live-reload disabled?