snappymail/tasks/watch.js
2019-07-04 23:35:53 +03:00

12 lines
355 B
JavaScript

/* RainLoop Webmail (c) RainLoop Team | Licensed under AGPL 3 */
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;