08:35:36 vite.1 | started with pid 41900
08:35:37 vite.1 | 2022-07-15T06:35:37.442Z vite-plugin-ruby:config {
08:35:37 vite.1 | base: '/vite-dev/',
08:35:37 vite.1 | build: {
08:35:37 vite.1 | emptyOutDir: true,
08:35:37 vite.1 | sourcemap: false,
08:35:37 vite.1 | rollupOptions: { input: [Object], output: [Object] },
08:35:37 vite.1 | assetsDir: 'assets',
08:35:37 vite.1 | manifest: true,
08:35:37 vite.1 | outDir: '../../public/vite-dev'
08:35:37 vite.1 | },
08:35:37 vite.1 | envDir: '/Users/ledermann/Projects/templatus-inertia',
08:35:37 vite.1 | root: '/Users/ledermann/Projects/templatus-inertia/app/javascript',
08:35:37 vite.1 | server: {
08:35:37 vite.1 | host: 'vite.templatus-inertia.test',
08:35:37 vite.1 | https: false,
08:35:37 vite.1 | port: 3036,
08:35:37 vite.1 | strictPort: true,
08:35:37 vite.1 | fs: { allow: [Array], strict: true },
08:35:37 vite.1 | hmr: { host: 'vite.templatus-inertia.test', clientPort: 3036 }
08:35:37 vite.1 | },
08:35:37 vite.1 | entrypoints: {
08:35:37 vite.1 | 'entrypoints/application.css': '/Users/ledermann/Projects/templatus-inertia/app/javascript/entrypoints/application.css',
08:35:37 vite.1 | 'entrypoints/application.ts': '/Users/ledermann/Projects/templatus-inertia/app/javascript/entrypoints/application.ts',
08:35:37 vite.1 | 'images/logo.svg': '/Users/ledermann/Projects/templatus-inertia/app/javascript/images/logo.svg'
08:35:37 vite.1 | }
08:35:37 vite.1 | }
08:35:37 vite.1 |
08:35:37 vite.1 | VITE v3.0.0 ready in 168 ms
08:35:37 vite.1 |
08:35:37 vite.1 | ➜ Local: http://vite.templatus-inertia.test:3036/vite-dev/
08:35:37 vite.1 | ➜ Network: http://169.254.60.189:3036/vite-dev/
08:35:37 vite.1 | ➜ Network: http://192.168.178.50:3036/vite-dev/
08:35:37 vite.1 | ➜ Network: http://192.168.178.51:3036/vite-dev/
bundle update vite_ruby.Description 📖
After upgrading
vite-plugin-ruby from3.1.0to3.1.1, the HMR config does not work anymore as described in #215 becausehmr.clientPortis overridden. In the end, the browser tries to connect to port3036instead of443.It appears that this is a caused by 3dd06db
Reproduction 🐞
https://github.com/templatus/templatus-inertia/
Vite Ruby Info
vite.config.ts
vite.json
{ "all": { "sourceCodeDir": "app/javascript", "watchAdditionalPaths": [] }, "development": { "autoBuild": true, "publicOutputDir": "vite-dev", "host": "vite.templatus-inertia.test", "port": 3036 }, "test": { "autoBuild": true, "publicOutputDir": "vite-test", "port": 3037 } }Logs 📜
Output
Screenshots 📷