diff --git a/gulpfile.js b/gulpfile.js index 12386df..eb65133 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -67,7 +67,10 @@ gulp.task('scripts', function() { // While developing, run 'gulp watch' gulp.task('watch',function() { - livereload.listen(); + // Only listen for live reloads if ran with --livereload + if (argv.livereload){ + livereload.listen(); + } gulp.watch('src/styles/**/*.sass',['styles']); gulp.watch('src/templates/**/*.jade',['templates']);