Log file colors in editor?


My error messages generate lots of log files with color codes in them. The data looks pretty as it gushes by in the terminal, but when i open the file in the editor I get lots of escape codes.

Is there a way to simply color the file with it’s embedded escape codes?

This is an example:

03:36:08 - e[31merrore[39m: Compiling of node_modules/handlebars-brunch/dist/handlebars.runtime.js failed. Error: Couldn’t find preset “/site-master/site-loader/node_modules/babel-preset-msjx” relative to directory "node_modules/handlebars-brunch/dist"e[90m
at /site-master/site-loader/node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
at Array.map (native)