Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
fix(gulp): fix broken test:server:watch task (#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 simison committed Aug 13, 2017
1 parent c69644d commit c467c84
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 c467c84

Please sign in to comment.