grunt-express-server icon indicating copy to clipboard operation
grunt-express-server copied to clipboard

Output loses formatting

Open Climax777 opened this issue 10 years ago • 3 comments

Hello

When using this to run my express server, all output from winston logging loses formatting such as boldness and color.

Climax777 avatar Jul 11 '15 18:07 Climax777

I think that's the difference between this library doing .spawn, which inherits STDIO vs. doing .exec.

There are some caveats using one vs. the other, so the alternative would just need to be tested...

ericclemmons avatar Jul 13 '15 02:07 ericclemmons

using spawn would preserve formatting you could use the snippet here: #2098 there is also the workaround to kill the child reliable

paulpflug avatar Jul 13 '15 13:07 paulpflug

I had the same problem, but setting grunt-express-server option background: false solves the problem.

sebdah avatar Sep 14 '15 04:09 sebdah