diff --git a/lib/commands/serve.js b/lib/commands/serve.js index a3b1f2743b0..d9c26af8b39 100644 --- a/lib/commands/serve.js +++ b/lib/commands/serve.js @@ -71,7 +71,7 @@ function serve() { : []; if (hasDevServerDep.length) { - let WDSPath = getRootPathModule("node_modules/webpack-dev-server/cli.js"); + let WDSPath = getRootPathModule("node_modules/webpack-dev-server/bin/webpack-dev-server.js"); if (!WDSPath) { console.log( "\n",