Skip to content

Commit 011cc5c

Browse files
committed
CLI options override config options #368
1 parent d80bd1a commit 011cc5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/webpack-dev-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ var options = wpOpt.devServer || firstWpOpt.devServer || {};
6969
if(argv.host !== "localhost" || !options.host)
7070
options.host = argv.host;
7171

72-
if(!options.public)
72+
if(argv.public)
7373
options.public = argv.public;
7474

7575
if(argv.port !== 8080 || !options.port)

0 commit comments

Comments
 (0)