diff --git a/base/loading.jl b/base/loading.jl index b5b05e23b9ef5..0aeda4c3cac88 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -336,6 +336,7 @@ function create_expr_cache(input::AbstractString, output::AbstractString) io, pobj = open(detach(`$(julia_cmd()) --output-ji $output --output-incremental=yes --startup-file=no --history-file=no + --color=$(have_color ? "yes" : "no") --eval $code_object`), "w", STDOUT) try serialize(io, quote