Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
'use strict';
|
||||
|
||||
const gulp = require('gulp');
|
||||
const path = require('path');
|
||||
const watch = require('gulp-watch');
|
||||
|
||||
module.exports = () => {
|
||||
const less = watch(path.join('src', 'less', '**', '*.less'), () => {
|
||||
gulp.start('compile-less');
|
||||
});
|
||||
|
||||
const js = watch(path.join('src', 'js', '**', '*.js'), () => {
|
||||
gulp.start('compile-js');
|
||||
});
|
||||
/*
|
||||
const vendorJs = watch(path.join('src', 'vendor', '**', '*.js'), () => {
|
||||
gulp.start('compile-vendor-js');
|
||||
});
|
||||
|
||||
const handlebars = watch(path.join('src', 'js', 'handlebars', '**', '*.hbs'), () => {
|
||||
gulp.start('compile-handlebars');
|
||||
});
|
||||
*/
|
||||
};
|
||||
Reference in New Issue
Block a user