Closed ghost closed 7 years ago
Does the --color flag work on both WebPack version 1 and 2?
I just checked the Webpack 1 docs and it appears they only support the --colors
flags (I did not take into accoutn Webpack 1 since I assumed no one was using that anymore since it has big fat warnings about not using it anymore on the official site haha). Will change this since webpack 2 supports both --color
and --colors
Alright changed it so it works with both version.
TBH there should probably be some way to detect which version the user is using (parsing package.json and extracting major version number of both webpack and webpack-dev-server for example) and make options available based on that. But thats for a different time, perhaps i will work some more on this if i need it in the future :)
Now displays colors in the console when running serve tasks.
Fixes #34