universal-web-template
Version:
An universal web proejct template - let you quickly set up a project using Handlebars, sass and ReactJS for front-end templating. It can be adopted with most modern CMS.
22 lines (15 loc) • 426 B
JavaScript
/* jshint node: true */
/*
watch:fonts Task
Watch changes of font files
*/
;
module.exports = function() {
var gulp = this.gulp,
runSequence = this.opts.runSequence;
return this.opts.watch([
this.opts.path.join(this.opts.config.source.fonts, this.opts.config.filetype.fonts)
], function(){
runSequence('compile:webfonts', ['serve:reload', 'build:fonts'], 'integrate:fonts');
});
};