We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9112156 commit 534fd80Copy full SHA for 534fd80
shells/electron/package.json
@@ -14,7 +14,7 @@
14
"start": "node bin.js",
15
"dev": "webpack --watch --hide-modules",
16
"build": "webpack",
17
- "prepublish": "npm run build"
+ "prepare": "npm run build"
18
},
19
"author": "",
20
"license": "MIT",
shells/electron/src/backend.js
@@ -16,8 +16,9 @@ const disconnectedMessage = () => {
}
(function () {
+ const host = window.__VUE_DEVTOOLS_HOST__ || 'http://localhost'
const port = process.env.PORT || 8098
- const socket = io('http://localhost:' + port)
21
+ const socket = io(host + ':' + port)
22
23
// Disconnect socket once other client is connected
24
socket.on('vue-devtools-disconnect-backend', () => {
0 commit comments