UNPKG

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) 395 B
/* jshint node: true */ /* watch:data Task Watch changes of data files */ 'use strict'; module.exports = function() { var gulp = this.gulp, runSequence = this.opts.runSequence; return this.opts.watch([ this.opts.path.join(this.opts.config.source.data, '**/*.*') ], function(){ runSequence('compile:data', ['serve:reload', 'build:data'], 'integrate:data'); }); };