From b11033fd2c104d7b4e9f9616fa56b0e5b2001430 Mon Sep 17 00:00:00 2001 From: Colin Steinmann Date: Wed, 7 Oct 2015 17:02:08 -0700 Subject: [PATCH] Update to Gulpfile.js to fix memory leak issue. See Issue #32. On change function is redundant and actually causes memory leaks once called enough. --- 19-mean-workflow/gulpfile.js | 1 - 1 file changed, 1 deletion(-) diff --git a/19-mean-workflow/gulpfile.js b/19-mean-workflow/gulpfile.js index 8f1c77c..c847edd 100644 --- a/19-mean-workflow/gulpfile.js +++ b/19-mean-workflow/gulpfile.js @@ -61,7 +61,6 @@ gulp.task('nodemon', function() { ext: 'js less html' }) .on('start', ['watch']) - .on('change', ['watch']) .on('restart', function() { console.log('Restarted!'); });