File tree
Expand file treeCollapse file tree1 file changed
+3
-1
lines changed Expand file treeCollapse file tree1 file changed
+3
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -57,7 +57,9 @@ const options = {
|
57 | 57 | type: 'boolean',
|
58 | 58 | alias: 'colors',
|
59 | 59 | default: function supportsColor() {
|
60 |
| -return require('supports-color'); |
| 60 | +// Use `require('supports-color').stdout` for supports-color >= 5.0.0. |
| 61 | +// See https://.com/webpack/webpack-dev-server/pull/1555. |
| 62 | +return require('supports-color').stdout; |
61 | 63 | },
|
62 | 64 | group: DISPLAY_GROUP,
|
63 | 65 | describe: 'Enables/Disables colors on the console'
|
|
You can’t perform that action at this time.
0 commit comments