我有一个“监视”任务,将其绑定到“项目打开”绑定。但是当打开解决方案时,它会运行两次......我的解决方案包括这些项目:
- 控制器
- EF存储库
- 基础设施
- 模型
- 报告库
- 网页界面
- 设计
我的监视任务是:
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"]);
});
谢谢你的时间。