Output loses formatting
Climax777 opened this issue · comments
Pieter Jordaan commented
Hello
When using this to run my express server, all output from winston logging loses formatting such as boldness and color.
Eric Clemmons commented
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...
Paul Pflugradt commented
using spawn would preserve formatting
you could use the snippet here: #2098
there is also the workaround to kill the child reliable
Sebastian Dahlgren commented
I had the same problem, but setting grunt-express-server
option background: false
solves the problem.