1
是否可以让Visual Studio在特定解决方案或项目打开后自动运行grunt watch
?如何在打开Visual Studio项目/解决方案时自动启动grunt watch?
是否可以让Visual Studio在特定解决方案或项目打开后自动运行grunt watch
?如何在打开Visual Studio项目/解决方案时自动启动grunt watch?
不,但您可以使用项目属性中的预编译钩子和后编译钩子来运行任务。
虽然你不能从那里运行监视任务 - 如果你这样做会阻止编译。
现在可以使用Task Runner Explorer。
右键点击你的任务 - > Bindings->解决方案开放