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 408a660 commit 906795dCopy full SHA for 906795d
lib/cli.js
@@ -150,6 +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
+ //if there is no hook task, but it's a v2 app and a command that usually needs a hook
154
if (e.missingTask && /serve|build|run|emulate|upload/.test(cmdName) && argv.v2) {
155
var taskName = (cmdName === 'serve') ? 'watch' : 'build';
156
console.warn('WARN: No \'' + beforeHook + '\' gulp task found!');
0 commit comments