[build] update gulp debug logger
This commit is contained in:
@@ -125,18 +125,18 @@ class FlashPlayer extends Sdk {
|
||||
FlashPlayer.enableLog();
|
||||
exec('.', [this.flashPlayerBin(debug), file.path].join(' ')).then(() => {
|
||||
stream.emit('end');
|
||||
//callback();
|
||||
callback();
|
||||
}).catch((error) => {
|
||||
stream.emit('end');
|
||||
//callback();
|
||||
stream.emit('error', error);
|
||||
stream.emit('error', new gutil.PluginError({plugin: this.tag, message: error}));
|
||||
callback();
|
||||
});
|
||||
//stream.push(file);
|
||||
// ToDo: watch when file is exists
|
||||
// or create log file in FlashPlayer.enableLog()?
|
||||
stream.push(new gutil.File({
|
||||
/*stream.push(new gutil.File({
|
||||
path: FlashPlayer.log
|
||||
}));
|
||||
}));*/
|
||||
stream.push(file);
|
||||
};
|
||||
|
||||
return stream = through.obj(bufferContents);
|
||||
|
||||
Reference in New Issue
Block a user