Answer the question
In order to leave comments, you need to log in
Why is gulp not opening the host?
gulp.task('browser-sync', function() {
browserSync.init({
proxy: "opencardcms.loc",
port:8082,
open: true,
notify: false
});
});
Answer the question
In order to leave comments, you need to log in
Read the documentation, everything is there. The idea is like this:
host: "opencardcms.loc",
open: "external",
gulp.task('serve', function(done) {
browserSync.init({
host: "opencardcms.loc",
port: 8082,
open: "external"
});
done();
});
Copy the following snippet into your website, just before the closing </body> tag
<script id="__bs_script__">//<![CDATA[
document.write("<script async src='http://HOST:8083/browser-sync/browser-sync-client.js?v=2.26.14'><\/script>".replace("HOST", location.hostname));
//]]></script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question