From 839d06971c6120f635077f3b0c14daa004773f1e Mon Sep 17 00:00:00 2001 From: Daniel Langerenken Date: Tue, 26 Jan 2016 18:08:41 -0800 Subject: [PATCH] Fixed livereload 'ERR CONNECTION REFUSED' issue Livereload did not work for me as it is in the current version. adding listen() resolves it (based on https://scotch.io/tutorials/a-quick-guide-to-using-livereload-with-gulp) --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index f754b1d..895adb2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -217,7 +217,7 @@ gulp.task('watch', ['statics', 'default'], function() { isWatching = true; // Initiate livereload server: - g.livereload(); + g.livereload.listen(); gulp.watch('./src/app/**/*.js', ['jshint']).on('change', function(evt) { if (evt.type !== 'changed') {