Skip to content

Add vp dev support for SoldStart/Vinxi server #1291

@gihrig

Description

@gihrig

Description

vp v0.1.15 vp dev executes the vite dev server (as expected)

SoldStart projects rely on the Vinxi dev server.

The vite dev server does not serve the SolidStart app, only an empty page with a 404 is returned.

Suggested solution

Detect the Vinxi dev server and start that when running vp dev.

Alternative

Support a config property in vite-config.ts. Perhaps adding to the existing server: property.

Additional context

I know I can just run vp run dev or vpr dev but I'm lazy and OCD. 😜

Similar considerations apply to vp build and vp preview.

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Metadata

Metadata

Assignees

No one assigned

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions