Skip to content

Instantly share code, notes, and snippets.

@Jackbennett
Created April 9, 2014 14:51
Show Gist options
  • Save Jackbennett/10279277 to your computer and use it in GitHub Desktop.
Save Jackbennett/10279277 to your computer and use it in GitHub Desktop.
var gulp = require('gulp');
var livereload = require('gulp-livereload');
gulp.task('default', function(next){
var server = livereload();
gulp.watch(['*', 'css/*']).on('change', function(file){
server.changed(file.path);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment