Skip to content

Commit

Permalink
fix(hmr-socket): set injectClient to false, as we inject our own client
Browse files Browse the repository at this point in the history
  • Loading branch information
lbogdan committed Jan 10, 2020
1 parent 634ca1c commit d8eb35e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/__tests__/serve.spec.js
Expand Up @@ -181,7 +181,7 @@ test('dart sass', async () => {
await project.run('vue-cli-service build')
})

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

await serve(
Expand Down
1 change: 1 addition & 0 deletions packages/@vue/cli-service/lib/commands/serve.js
Expand Up @@ -172,6 +172,7 @@ module.exports = (api, options) => {
contentBase: api.resolve('public'),
watchContentBase: !isProduction,
hot: !isProduction,
injectClient: false,
compress: isProduction,
publicPath: options.publicPath,
overlay: isProduction // TODO disable this
Expand Down

0 comments on commit d8eb35e

Please sign in to comment.