I am trying to run gulp default task on VS 2010 Post Build Event like
cd $(ProjectDir) gulp
But VS Freezes when i click on Build Solution while same is working fine on command window. Anyone faced this issue earlier or help me in this?
Edit: Visual Studio 2015 now has full support for gulp, with hooks to make it much easier to integrate.
Old answer: This is because gulp-watch
is a long-running process; it's watching files for changes, and so does not exit.
Perhaps on your post-build task, you could use something like cmdow to fire off the task in a separate process, which should let the build "finish" properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With