vitrify 0.26.3 → 0.26.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin/dev.js CHANGED
@@ -38,11 +38,12 @@ ssr, framework = 'vue', host, appDir, publicDir, base }) {
38
38
  server: {
39
39
  ...configBase.server,
40
40
  host,
41
- port
42
- // hmr: {
43
- // protocol: config.server?.https ? 'wss' : 'ws',
44
- // port: wsPort
45
- // }
41
+ port,
42
+ hmr: {
43
+ protocol: configBase.server?.https ? 'wss' : 'ws',
44
+ port: wsPort,
45
+ clientPort: wsPort
46
+ }
46
47
  }
47
48
  }, 'serve');
48
49
  if (config.server?.https) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitrify",
3
- "version": "0.26.3",
3
+ "version": "0.26.4",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "description": "Vite as your Full Stack development tool",
@@ -81,11 +81,12 @@ export async function createVitrifyDevServer({
81
81
  server: {
82
82
  ...configBase.server,
83
83
  host,
84
- port
85
- // hmr: {
86
- // protocol: config.server?.https ? 'wss' : 'ws',
87
- // port: wsPort
88
- // }
84
+ port,
85
+ hmr: {
86
+ protocol: configBase.server?.https ? 'wss' : 'ws',
87
+ port: wsPort,
88
+ clientPort: wsPort
89
+ }
89
90
  }
90
91
  },
91
92
  'serve'