How to use the gulp-livereload.changed function in gulp-livereload

To help you get started, we’ve selected a few gulp-livereload examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DarkPark / stb / tpl / tasks / static.js View on Github external
gulp.watch([path.join(global.paths.build, '**', '*.{html,js,json,css}')]).on('change', function ( file ) {
				// report
				log('watch   '.bgCyan.black, 'reload ' + ('./' + path.relative(global.paths.build, file.path)).bold);
				// reload
				glr.changed(file);
			});
		}
github twalker / inline-styles / gulpfile.js View on Github external
]).on('change', function(file){
    //console.log(file.path + ' changed')
    livereload.changed(file)
  });
github mozillascience / software-discovery-dashboard / gulpfile.js View on Github external
this.stdout.on('data', function (chunk) {
            if(/^Express server listening on port/.test(chunk)){
                livereload.changed(__dirname);
            }
        });
        this.stdout.pipe(process.stdout);
github SAP / InfraBox / src / dashboard / gulpfile.js View on Github external
this.stdout.on("data", function(chunk) {
            if (/^Express server listening on port/.test(chunk)) {
                livereload.changed(__dirname);
            }
        });
        this.stdout.pipe(process.stdout);
github enesser / earth-webgl / gulpfile.js View on Github external
this.stdout.on('data', function(chunk) {
            if (/^Earth WebGL Demo listening on port/.test(chunk)) {
                livereload.changed(__dirname);
            }
        });
        this.stdout.pipe(process.stdout);
github mobkits / images-preview / gulpfile.js View on Github external
watcher.on('change', function (e) {
    livereload.changed(e.path)
    growl(path.basename(e.path))
  })
})
github brave / ethereum-remote-client / brave / gulpfile.js / common-gulp.js View on Github external
watch(source + pattern, (event) => {
        livereload.changed(event.path)
        performCopy()
      })
    }
github brave / ethereum-remote-client / gulpfile.js View on Github external
watch(pattern, async (event) => {
        const stream = buildScss()
        await endOfStream(stream)
        livereload.changed(event.path)
      })
      return buildScssWithSourceMaps()
github demisto / alfred / static / master / gulpfile.js View on Github external
]).on('change', function(event) {

      livereload.changed( event.path );

  });
github itsriodejaneiro / mudamos-libcrypto / gulpfile.js View on Github external
gulp.watch(files,['default']).on('change', function(file) {
        livereload.changed(file.path);
        gutil.log(gutil.colors.yellow('JS changed' + ' (' + file.path + ')'));
    });
});

gulp-livereload

Gulp plugin for livereload.

MIT
Latest version published 5 years ago

Package Health Score

57 / 100
Full package analysis

Popular gulp-livereload functions