How to change grails.exe console colors on Windows?

I run Grails 2.3.6 on Windows from the normal command line: "grails run-app"

By default, Grails likes to use different colors for different types of text output. That's fine, but I really don't like the Groovy exceptions that appear in dark red . I use background black , which makes them difficult to read.

Cygwin is good in that when Grails works, I don’t see any colors at all (even exceptions), but Cygwin has another problem: FileWatcher does not detect the changes I made to the Groovy source code, so hot deployments do not work.

+4
source share
2 answers

You can disable the ANSI color codes:

grails --plain-output run-app

enter image description here

+4
source

If you need to use Cygwin, check out ConEmu . This is a good replacement for the default cygwin terminal, and you can run the cygwin environment here . It also supports themes (there are a few of them out of the box), so Grails exceptions should look better.

+1
source

Source: https://habr.com/ru/post/1531694/


All Articles