From cff112f75b5e9930de762855921ce1f3bf85bcee Mon Sep 17 00:00:00 2001 From: Timofei Pendus Date: Sun, 13 Aug 2017 19:04:55 +0300 Subject: [PATCH] fix(gulp): test:server:watch broken task Pass the path string of the changed file to gulp-refresh plugin, so that an exception won't be thrown when test files are reloaded Fixes #1840 --- gulpfile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 870d5015bd..122bf7640c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -109,11 +109,10 @@ gulp.task('watch:server:run-tests', function () { if (filePath === path.resolve(file.path)) { changedTestFiles.push(f); + plugins.refresh.changed(f); } }); }); - - plugins.refresh.changed(); }); });