File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 18
18
stage : Test (MacOS)
19
19
os : ' osx'
20
20
env : SCRIPT=test
21
- node_js : ' stable'
21
+ # Node 10 instead of 'stable' since Node 11 segfaults
22
+ # https://github.com/webpack/webpack-dev-server/pull/1588
23
+ node_js : 10
22
24
- << : *osx
23
25
node_js : ' lts/*'
24
26
- << : *osx
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://github.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