How to use the emitter function from browser-sync

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

254
255
256
257
258
259
260
261
262
263
gulp.watch(['previewer-src/**', 'patterns.yaml'], () => {
  reset();
  gulp.series('generate-preview-force', outputDevServerInfo)
});

browserSync.emitter.on('init', outputDevServerInfo);

browserSync.init({
  logLevel: 'silent',
  ui: false,
fork icon0
star icon0
watch icon0