mirror of
https://gitlab.silvrtree.co.uk/martind2000/aodb.git
synced 2025-02-11 16:19:15 +00:00
20 lines
575 B
JavaScript
20 lines
575 B
JavaScript
var gulp = require('gulp'),
|
|
config = require('../gulp.config')(),
|
|
watch = require('gulp-watch');
|
|
|
|
module.exports =
|
|
gulp.task('watch', function() {
|
|
watch(config.allLess, function() {
|
|
gulp.start('compile-less');
|
|
});
|
|
watch(config.allTemplates, function() {
|
|
gulp.start('compile-template-cache');
|
|
});
|
|
watch(config.allTypescript, function() {
|
|
gulp.start(['compile-js']);
|
|
});
|
|
watch(config.allHtml, function() {
|
|
gulp.start('compile-template');
|
|
});
|
|
});
|