src/Console/Command.php
protected function createGulpProcess($task, array $options = [])
    {
        $config = $this->container['config'];

        return ProcessBuilder::create(array_flatten([
            $config['gulp.bin'],
            $task,
            $options,
            '--source', $config['source.directory'],
            '--dest', $config['build.directory'],
            '--gulpfile', $config['source.directory'] . DIRECTORY_SEPARATOR . $config['gulp.file'],
            '--phpwd', getcwd(),
            '--color',
        ]))
        ->getProcess();
    }
protected function createGulpProcess($task, array $options = [])
    {
        $config = $this->container['config'];

        return ProcessBuilder::create(array_flatten([
            $config['gulp.bin'],
            $task,
            $options,
            '--source', $config['source.directory'],
            '--dest', $config['build.directory'],
            '--gulpfile', $config['source.directory'] . DIRECTORY_SEPARATOR . $config['gulp.file'],
            '--phpwd', getcwd(),
            '--color',
        ]))
        ->getProcess();
    }
protected function createGulpProcess ( $ task , array $ options = [ ] ) { $ config = $ this -> container [ 'config' ] ; return ProcessBuilder :: create ( array_flatten ( [ $ config [ 'gulp.bin' ] , $ task , $ options , '--source' , $ config [ 'source.directory' ] , '--dest' , $ config [ 'build.directory' ] , '--gulpfile' , $ config [ 'source.directory' ] . DIRECTORY_SEPARATOR . $ config [ 'gulp.file' ] , '--phpwd' , getcwd ( ) , '--color' , ] ) ) -> getProcess ( ) ; }
Create a process builder for the given gulp task.

@param string $task
@param array $options
@return Process
Create a process builder for the given gulp task .