We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33af80c commit 0ce5642Copy full SHA for 0ce5642
lib/cli.js
@@ -150,9 +150,7 @@ function runWithGulp(argv, taskInstance){
150
return Q.fcall(taskInstance.run.bind(taskInstance), Cli, argv);
151
},
152
function(e){ //task error, let gulp handle it
153
-
154
- // Warn if it's a v2 project and there isn't a build hook
155
- if (/serve|build|run|emulate|upload/.test(cmdName) && argv.v2) {
+ if (e.missingTask && /serve|build|run|emulate|upload/.test(cmdName) && argv.v2) {
156
var taskName = (cmdName === 'serve') ? 'watch' : 'build';
157
console.warn('WARN: No \'' + beforeHook + '\' gulp task found!');
158
0 commit comments