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
Clarify when to use vp dev vs vp run dev / vpr dev #2243
Users frequently run vp dev when they actually intend to run the project's dev script. This causes confusion because vp dev is a Vite+ built-in command, while many projects expect script-based behavior.
Current behavior
Some guidance already points users toward vp run <script> for validation tasks
Other docs/prompts still describe Vite usage in terms of vp dev / vp build
This mixed guidance likely contributes to incorrect usage
Expected behavior
Guidance should clearly distinguish:
vp dev -> Vite+ built-in command
vp run dev / vpr dev -> project script execution path
When the goal is to respect custom scripts, framework wrappers, or more complex project setups, docs/prompts should prefer the script-based path.
Suggested improvements
Update generated prompts / AGENTS.md / docs to prefer vpr where appropriate
Clarify when to use:
vp dev
vp run dev
vpr dev
Add a runtime hint when a user runs vp dev and a matching dev script exists, e.g.:
"You are running vp dev as a Vite+ built-in command. If you meant to run the dev npm script, use vpr dev instead."
Apply the same hint pattern to other built-in commands that collide with script names
Add evals/tests to catch prompt/doc regressions around this distinction
Why this matters
Using the script path better preserves project-specific behavior, especially for meta-frameworks, custom wrappers, and more complex setups.
Activity
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
docs: clarify `vp dev` vs `vp run dev` / `vpr dev` (#2255)
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json script
feat(cli): note when a built-in shares a name with a package.json scr…
feat(cli): note when a built-in shares a name with a package.json scr…