gulp-help icon indicating copy to clipboard operation
gulp-help copied to clipboard

Aliases polluted the cmd screen

Open xNok opened this issue 9 years ago • 0 comments

I`m improving the quality of my gulp file thanks to gulp-help, but the aliases pollute the prompt by prompting two tasks. Moreover the order does not make sens for me.

$ gulp sass
[13:07:51] Using gulpfile D:\04-Thinxtra\zabbix_googleAPI\Cssb\gulpfile.js
[13:07:51] Starting 'frontdev:compile:sass2Css'...
[13:07:51] Finished 'frontdev:compile:sass2Css' after 170 ms
[13:07:51] Starting 'sass'...
[13:07:51] Finished 'sass' after 19 μs

The task frontdev:compile:sass2Css vith the alias sass

gulp.task 'frontdev:compile:sass2Css','Build css assets', ->
  getTask(Object.keys(this.tasks)[3],
    {
      src: '/scss/**/*.scss',
      dest: '../www/css',
      argv: argv
    }
  )
,{
  aliases: ['sass']
  options: {
    'env=prod': 'Compile and minify',
    'env=dev': 'Compile & sourceMap & browserSync',
  }
}

xNok avatar Jun 23 '16 02:06 xNok