吞食守夜 用法 首先,安装gulp-nightwatch作为开发依赖项: npm install --save-dev gulp-nightwatch 然后,如下所示编写您的gulpfile.js。 var gulp = require ( 'gulp' ) , nightwatch = require ( 'gulp-nightwatch' ) ; gulp . task ( 'default' , function ( ) { return gulp . src ( 'gulpfile.js' ) . pipe ( nightwatch ( { con