This code worked in 3.2.0 but not in 3.3.0
webpack-dev-server --color --progress --config config/webpack.dev.coffee --mode development
Potentially relevant information
// webpack.config.js
`stats: 'detailed'
Since color is not defined in the pre-defined detailed stats I don't expect it to not be applied.
Update to 3.3.0. Colors still work if I downgrade to previous version.
/cc @hiroppy i think we already fix it in master, but need add test to avoid future regressions
Yes, it has already been fixed.
Sorry, no, it was not reflected if passed directly from CLI.
Sorry, I mistook. It has already been fixed.
@evilebottnawi We have already tested the color test.
https://github.com/webpack/webpack-dev-server/blob/028ceee1693c7566ea7ea54048ced23db5409c32/test/CreateConfig.test.js#L489-L499
commit: https://github.com/webpack/webpack-dev-server/commit/a2e5d1230991af093e3b2045cd17abd8d0602fa7
Maybe it is regression for stats and 3.3.0
I did a bit more testing and it works if stats isn't defined but breaks whenever it is. Not sure if that helps or not.
I added --color test