buzz icon indicating copy to clipboard operation
buzz copied to clipboard

fix(desktop): run Vite directly in Tauri dev command

Open kiranmagic7 opened this issue 4 months ago • 0 comments

Summary

Runs Vite through its Node entry point in the Tauri beforeDevCommand.

The current command relies on the POSIX exec shell builtin, which is unavailable under Windows cmd.exe. Calling the published Vite entry point keeps just desktop-dev portable without changing how Vite starts on macOS or Linux.

Related issue

Extracted from the maintainer request in #2506. I found no matching open pull request in a final duplicate check.

Testing

node ./node_modules/vite/bin/vite.js --version returned vite/8.0.16 darwin-arm64 node-v24.15.0.

pnpm --dir desktop check passed.

just ci passed.

A Windows smoke test was not available locally. This changes configuration only, so screenshots do not apply.

kiranmagic7 avatar Jul 29 '26 10:07 kiranmagic7