How to use the notify function from browser-sync

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

25
26
27
28
29
30
31
32
33
34
function js() {
    return bundler
        .bundle()
        .on('error', function handleError(err) {
            gutil.log(err.message);
            bs.notify(err.message, 10000);
            this.emit('end');
        })
        .pipe(source(config.paths.appName))
        .pipe(buffer())
fork icon19
star icon78
watch icon37