How to use the sockets function from browser-sync

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

162
163
164
165
166
167
168
169
170
171

    done();
  });

  stream.on('error', (error) => {
    bsSP.sockets.emit('error:message', error);
    console.log(error);
    done(error);
  });
});
fork icon0
star icon0
watch icon0

+ 11 other calls in file