node.js - How to change the output color of gulp-debug? -
hi due crash gulp, not debug whats happening behind. installed gulp-debug. think 's throwing lines of errors unreadable condition in windows system due output color. how , change output color.
@pgreen2, reply.
gulp --no-color
allows complete no-color , cannot distinguish b/w input , output. there other way change particular blue color itself?
i searched across folders , noticed hard coded. developers have stated
// don't use 'blue' not visible on cmd.exe
. replaced hexadecimal color in float.patch under core-util-is in array of colors.
-inspect.colors = { - 'bold' : [1, 22], - 'italic' : [3, 23], - 'underline' : [4, 24], - 'inverse' : [7, 27], - 'white' : [37, 39], - 'grey' : [90, 39], - 'black' : [30, 39], - '#fff8dc' : [34, 39], // blue got changed here - 'cyan' : [36, 39], - 'green' : [32, 39], - 'magenta' : [35, 39], - 'red' : [31, 39], - 'yellow' : [33, 39] -};
and in 1 more core-util-is. still taking blue color itself. there 1 more entry in readme.md script. traversing page well...? please correct me if doing wrong.
and gulp-debug debug tool?
thanks in advance
i haven't used gulp-debug
, can't comment on usefulness of it. after looking @ source code (https://github.com/sindresorhus/gulp-debug/blob/master/index.js), output colors hard coded. however, can disable colors gulp, using --no-color
.
example:
gulp --no-color
Comments
Post a Comment