We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1327568 + 1fe82de commit bf67dd6Copy full SHA for bf67dd6
.travis.yml
@@ -18,7 +18,9 @@ jobs:
18
stage: Test (MacOS)
19
os: 'osx'
20
env: SCRIPT=test
21
- node_js: 'stable'
+ # Node 10 instead of 'stable' since Node 11 segfaults
22
+ # https://github.com/webpack/webpack-dev-server/pull/1588
23
+ node_js: 10
24
- <<: *osx
25
node_js: 'lts/*'
26
bin/options.js
@@ -57,7 +57,9 @@ const options = {
57
type: 'boolean',
58
alias: 'colors',
59
default: function supportsColor() {
60
- return require('supports-color');
+ // Use `require('supports-color').stdout` for supports-color >= 5.0.0.
61
+ // See https://github.com/webpack/webpack-dev-server/pull/1555.
62
+ return require('supports-color').stdout;
63
},
64
group: DISPLAY_GROUP,
65
describe: 'Enables/Disables colors on the console'
0 commit comments