Skip to content

Commit 5562fda

Browse files
committed
Parse --progress flag in WDS instead of in webpack
Also see webpack/webpack@18929db
1 parent 6dfe1fd commit 5562fda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/webpack-dev-server.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ var DISPLAY_GROUP = "Stats options:";
2727
var SSL_GROUP = "SSL options:";
2828
var CONNECTION_GROUP = "Connection options:";
2929
var RESPONSE_GROUP = "Response options:";
30+
var BASIC_GROUP = "Basic options:";
3031

3132
yargs.options({
3233
"lazy": {
@@ -38,6 +39,11 @@ yargs.options({
3839
default: true,
3940
describe: "Inline mode (set to false to disable including client scripts like livereload)"
4041
},
42+
"progress": {
43+
type: "boolean",
44+
describe: "Print compilation progress in percentage",
45+
group: BASIC_GROUP
46+
},
4147
"hot-only": {
4248
type: "boolean",
4349
describe: "Do not refresh page if HMR fails",

0 commit comments

Comments
 (0)