Skip to content

Commit

Permalink
fix(gulp): fix broken test:server:watch task (meanjs#1842)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gbatz authored and cicorias committed Sep 12, 2017
1 parent d5b8fb3 commit a9ea01a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
});

Expand Down

0 comments on commit a9ea01a

Please sign in to comment.