Feature in dev mode always pull from disk
This commit is contained in:
10
gulpfile.js
10
gulpfile.js
@@ -93,8 +93,7 @@ var paths = {
|
||||
],
|
||||
|
||||
challenges: [
|
||||
'seed/challenges/*.json',
|
||||
'seed/under-construction/*.json'
|
||||
'seed/challenges/*.json'
|
||||
]
|
||||
};
|
||||
|
||||
@@ -399,10 +398,15 @@ var watchDependents = [
|
||||
'pack-watch-manifest'
|
||||
];
|
||||
|
||||
gulp.task('reload', () => {
|
||||
notify({ message: 'test changed' });
|
||||
reload();
|
||||
});
|
||||
|
||||
gulp.task('watch', watchDependents, function() {
|
||||
gulp.watch(paths.lessFiles, ['less']);
|
||||
gulp.watch(paths.js, ['js']);
|
||||
gulp.watch(paths.challenges, ['test-challenges']);
|
||||
gulp.watch(paths.challenges, ['test-challenges', 'reload']);
|
||||
gulp.watch(paths.js, ['js', 'dependents']);
|
||||
gulp.watch(paths.dependents, ['dependents']);
|
||||
gulp.watch(paths.manifest + '/*.json', ['build-manifest-watch']);
|
||||
|
Reference in New Issue
Block a user