diff --git a/packages/@vue/cli-service/lib/commands/serve.js b/packages/@vue/cli-service/lib/commands/serve.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/cli-service/lib/commands/serve.js
+++ b/packages/@vue/cli-service/lib/commands/serve.js
@@ -76,8 +76,8 @@ module.exports = (api, options) => {
           `webpack-dev-server/client/?${urls.localUrlForBrowser}`,
           // hmr client
           projectDevServerOptions.hotOnly
-            ? 'webpack/hot/dev-server'
-            : 'webpack/hot/only-dev-server'
+            ? 'webpack/hot/only-dev-server'
+            : 'webpack/hot/dev-server'
           // TODO custom overlay client
           // `@vue/cli-overlay/dist/client`
         ])
fix hot/hotOnly client check