Skip to content

Commit d8eb35e

Browse files
committed
fix(hmr-socket): set injectClient to false, as we inject our own client
1 parent 634ca1c commit d8eb35e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/@vue/cli-service/__tests__/serve.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ test('dart sass', async () => {
181181
await project.run('vue-cli-service build')
182182
})
183183

184-
test.only('use a single websocket connection for HMR', async () => {
184+
test('use a single websocket connection for HMR', async () => {
185185
const project = await create('e2e-serve', defaultPreset)
186186

187187
await serve(

packages/@vue/cli-service/lib/commands/serve.js

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ module.exports = (api, options) => {
172172
contentBase: api.resolve('public'),
173173
watchContentBase: !isProduction,
174174
hot: !isProduction,
175+
injectClient: false,
175176
compress: isProduction,
176177
publicPath: options.publicPath,
177178
overlay: isProduction // TODO disable this

0 commit comments

Comments
 (0)