snappymail/tasks/watch.js
2022-08-31 19:20:47 +00:00

12 lines
352 B
JavaScript

/* RainLoop Webmail (c) RainLoop Team | Licensed under MIT */
const gulp = require('gulp');
const { config } = require('./config');
const { cssBuild } = require('./css');
const watchCss = gulp.series(cssBuild, (cb) => {
gulp.watch(config.paths.less.main.watch, { interval: config.watchInterval }, cssBuild);
cb();
});
exports.watchCss = watchCss;