我有一个“监视”任务,将其绑定到“项目打开”绑定。但是当打开解决方案时,它运行了两次...我的解决方案包括以下项目:
我的监视任务是:
gulp.task("watch-templates", [], function () {
var config = {
baseDir: "WebUI/Templates",
files: [
// includes:
"WebUI/Templates/**/*.html",
// excludes:
"!WebUI/Templates/**/*.min.html"
]
};
return gulp.watch(config.files, ["Build-templates"]);
});
感谢您的时间。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句