mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
25 lines
556 B
JavaScript
25 lines
556 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Task: watch
|
|
*
|
|
* Watch filesystem for changes in files and
|
|
* run the corresponding tasks.
|
|
*/
|
|
|
|
var gulp = require('gulp');
|
|
|
|
// == Register task: watch
|
|
gulp.task('watch', function(){
|
|
|
|
// Watch CSS, Scripts, HTML, and everything
|
|
// else in the source directory
|
|
gulp.watch('assets/html/**/*.html', ['html']);
|
|
gulp.watch('assets/js/**/*.js', ['scripts']);
|
|
gulp.watch('**/*.jsx', ['app']);
|
|
gulp.watch('assets/scss/**/*.scss', ['stylesheets']);
|
|
gulp.watch('assets/**/*', ['assets']);
|
|
|
|
});
|
|
|