Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/vue-component-dev-client/client/dev-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ Meteor.startup(function () {

console.log('%cHMR%c Dev server URL: %c' + devUrl, tagStyle, '', 'font-weight: bold;')

console.log(`%cIf you have issues connecting to the dev server, set the 'HMR_URL' env letiable to the URL of the dev server displayed in the meteor console.`, infoStyle)
console.log(`%cIf you have issues connecting to the dev server, set the 'HMR_URL' env variable to the URL of the dev server displayed in the meteor console.`, infoStyle)

// NOTE: Socket lib don't allow mix HTTP and HTTPS servers URLs on client!
const _socket = require('socket.io-client')(devUrl)
const _socket = require('socket.io-client/dist/socket.io.dev.js')(devUrl)
window.__dev_client__ = _socket

_socket.on('connect', function () {
Expand Down