You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d3d8e6f
Browse filesBrowse the repository at this point in the historyBrowse files
fix: scope dev server metadata to Ruby mode (#632) (#633)
Keep development and test servers from sharing a metadata file, and verify the recorded port before proxying. Require the corresponding vite-plugin-ruby patch so the Ruby reader and Vite writer use the same path.
Copy file name to clipboardExpand all lines: docs/src/guide/troubleshooting.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,8 +166,8 @@ First, verify that the dev server is reachable by starting a new console session
166
166
>ViteRuby.instance.dev_server_running?
167
167
```
168
168
169
-
By default this reads `tmp/vite-ruby.json`, written by the Vite plugin while the dev server runs.
170
-
If it returns `false` while the dev server is running, make sure you are on a recent [vite-plugin-ruby] that writes this file, and that `tmp/` is writable.
169
+
By default this reads `tmp/vite-ruby-<mode>.json` (for example, `tmp/vite-ruby-development.json`), written by the Vite plugin while the server runs.
170
+
If it returns `false` while the dev server is running, make sure you are using vite-plugin-ruby 5.2.5 or later, that `tmp/` is writable, and that the dev server's port matches the configured port for this mode.
171
171
172
172
If you have enabled <kbd>[devServerConnectionCheck]</kbd>, try increasing the <kbd>[devServerConnectTimeout]</kbd>, restart the console and retry.
173
173
In systems with constrained resources the [default timeout][devServerConnectTimeout] might not be enough.
0 commit comments