How to use the use function from browser-sync

Find comprehensive JavaScript browser-sync.use code examples handpicked from public code repositorys.

82
83
84
85
86
87
88
89
90
91
});

/**
 * Server Auth
 */
bsSP.use(require('bs-auth'), {
  user: authArgs(opts.auth, pkg.name)[0],
  pass: authArgs(opts.auth, pkg.name)[1],
  use: opts.auth,
});
fork icon0
star icon0
watch icon0

33
34
35
36
37
38
39
40
41
42
    server: server,
    browser: browser
  });
}

browserSync.use(browserSyncSpa({
  selector: '[ng-app]'// Only needed for angular apps
}));

gulp.task('serve', ['watch'], function () {
fork icon0
star icon0
watch icon0

+ 3 other calls in file