标签:async col nal sync OWIN follow 方法 syn signal
当gulp为如下代码的时候:
// 以下代码会执行在node环境下 const gulp = require( "gulp" ); // 创建一个gulp的任务 gulp.task( "default",function(){ console.log( "gulp default task" ); } );
运行结果:
The following tasks did not complete: default
Did you forget to signal async completion?
修改方法:
// 以下代码会执行在node环境下 const gulp = require( "gulp" ); // 创建一个gulp的任务 gulp.task( "default",function(done){ console.log( "gulp default task" ); done(); } );
标签:async col nal sync OWIN follow 方法 syn signal
原文地址:https://www.cnblogs.com/NightTiger/p/10294459.html