提交 98a1c0d0 编写于 作者: C Catouse

* update gulpfile.

上级 23296ffa
......@@ -506,6 +506,7 @@ function startWatchSrc(name, callback) {
if (name === 'lib') name = 'seperate';
var build = builds[name];
var srcDir = build && build.srcDir || './src';
console.log(` Start watching ${srcDir.blue}`);
gulp.watch([srcDir + "/less/**/*"], function (event) {
buildBundle(name, function () {
callback && callback(event, 'less');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册