fix add watch for js/dependents

This commit is contained in:
Berkeley Martinez
2015-08-27 00:01:50 -07:00
parent 306c441ae7
commit a975c0d1f1

View File

@ -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']);