gulpjs/gulp-util — pull request #46 by milang (2014-06-04 19:15:10+00:00)
Title: Add "monitorCtrlC" utility function

This function will prevent sending of `SIGINT` signal when `Ctrl+C` is pressed. Instead, the specified (or default) callback will be invoked.

Preventing `SIGINT` in projects that are using `gulp.watch` on _Windows_ will suppress the annoying `Terminate batch job (Y/N)?` prompt after `Ctrl+C`. This gives your gulp watcher consistent behavior across all platforms.