Skip to content

vite-plugin-ruby 5.2.2 triggers deprecation warning under vite 8.1.5 #614

Closed

Description

@jrochkind
$ ./bin/vite dev
Trace: `server.hmr.protocol/host/port/path/clientPort/timeout/server` is deprecated. Use `server.ws.*` instead. Note that this option may be set by a plugin.

Triggered by:

const hmr = userConfig.server?.hmr ?? {}
if (typeof hmr === 'object' && !hmr.hasOwnProperty('clientPort')) {
hmr.clientPort ||= port
server.hmr = hmr
}

And possibly subsequent code.

Activity

  1. added
    bug: pending triage
    on Jul 29, 2026
  2. added a commit that references this issue on Aug 31, 2026
    6fd5e93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: pending triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions