lib/devour.js
function startRequested() {
		var start = [];

		if (run.length) {
			run.forEach(function(task) {
				var exists = task.replace(/:.*$/, '') in definitions.task;

				console.log(
					'Task %s %s',
					exists ? chalk.green(task) : chalk.red(task),
					exists ? 'running' : 'not found!'
				);

				if (exists) {
					start.push(task);
				}
			});

			if (start.length) {
				gulp.start.apply(gulp, start.concat([function(error) {
					if (error) {
						throw new Error(error);
					}

					console.log('Complete');
				}]));
			}
			else {
				console.log(chalk.red('No tasks are running, exiting!'));
				process.exit(1);
			}
		}

		return !!start.length;
	}
function startRequested() {
		var start = [];

		if (run.length) {
			run.forEach(function(task) {
				var exists = task.replace(/:.*$/, '') in definitions.task;

				console.log(
					'Task %s %s',
					exists ? chalk.green(task) : chalk.red(task),
					exists ? 'running' : 'not found!'
				);

				if (exists) {
					start.push(task);
				}
			});

			if (start.length) {
				gulp.start.apply(gulp, start.concat([function(error) {
					if (error) {
						throw new Error(error);
					}

					console.log('Complete');
				}]));
			}
			else {
				console.log(chalk.red('No tasks are running, exiting!'));
				process.exit(1);
			}
		}

		return !!start.length;
	}
function startRequested ( ) { var start = [ ] ; if ( run . length ) { run . forEach ( function ( task ) { var exists = task . replace ( / :.*$ / , '' ) in definitions . task ; console . log ( 'Task %s %s' , exists ? chalk . green ( task ) : chalk . red ( task ) , exists ? 'running' : 'not found!' ) ; if ( exists ) { start . push ( task ) ; } } ) ; if ( start . length ) { gulp . start . apply ( gulp , start . concat ( [ function ( error ) { if ( error ) { throw new Error ( error ) ; } console . log ( 'Complete' ) ; } ] ) ) ; } else { console . log ( chalk . red ( 'No tasks are running, exiting!' ) ) ; process . exit ( 1 ) ; } } return ! ! start . length ; }
Start tasks provided from the command line
@name    startRequested
@access  internal
@return  bool  started
Start tasks provided from the command line