mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Add Gulp watch task.
This commit is contained in:
parent
ade104272f
commit
dac8bc78bf
1 changed files with 7 additions and 0 deletions
|
@ -20,6 +20,13 @@ gulp.task('build', [
|
|||
]);
|
||||
|
||||
|
||||
// Watch task
|
||||
gulp.task('watch', function(){
|
||||
gulp.watch('js/*.js', ['js']);
|
||||
gulp.watch('css/*.less', ['css']);
|
||||
});
|
||||
|
||||
|
||||
// JS task
|
||||
gulp.task('js', function() {
|
||||
return gulp.src([
|
||||
|
|
Loading…
Add table
Reference in a new issue