nicosantangelo/sublime-gulp

Colors with gulp-util.colors

TCB13 opened this issue · 2 comments

TCB13 commented

Hello,

I was trying this package and it works just fine, however I was trying to add some colors to the output of my gulp tasks and it doesn't print them.

I'm using the gulp-util module to color my output, and it works perfectly on the terminal but not under the sublime result window. Why? Can it be fixed?

Thank you.

Hello!

The output you see on Sublime Text it's just the text gulp writes to STDOUT being added to a regular tab. Sadly there's no way to actually see the output formatted as like you do in the Terminal.

The color you see while using the package is defined here, the solution would be creating your own Syntax Definition and then using it by overriding the syntax option of this package.

It's annoying, I know :(

TCB13 commented

@nicosantangelo thanks for confirming my fears, I had run with this "issue" with build systems in the past. Frankly if the way to create a Syntax Definition it's not worth it. :( I guess 80% of the job is already done.