Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aliases polluted the cmd screen #41

Open
xNok opened this issue Jun 23, 2016 · 0 comments
Open

Aliases polluted the cmd screen #41

xNok opened this issue Jun 23, 2016 · 0 comments

Comments

@xNok
Copy link

xNok commented Jun 23, 2016

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',
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants