diff --git a/gulpfile.js b/gulpfile.js index 09d0161b48..e4c1fb3151 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -252,6 +252,7 @@ gulp.task('watch', ['less', 'js', 'dependents', 'serve', 'sync'], function() { gulp.watch(paths.less, ['less']); gulp.watch(paths.js, ['js']); gulp.watch(paths.challenges, ['test-challenges']); + gulp.watch(paths.dependents.concat(paths.js), ['js', 'dependents']); }); gulp.task('default', ['less', 'serve', 'sync', 'watch', 'pack-watch']);