We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbc8509 commit 756e54fCopy full SHA for 756e54f
1 file changed
packages/cli/binding/src/cli.rs
@@ -551,8 +551,8 @@ impl CommandHandler for VitePlusCommandHandler {
551
&mut self,
552
command: &mut ScriptCommand,
553
) -> anyhow::Result<HandledCommand> {
554
- // Only intercept "vp" commands in task scripts.
555
- // "vite" is a separate tool and should always run verbatim.
+ // Intercept "vp" commands in task scripts so that `vp test`, `vp build`, etc.
+ // are synthesized in-session rather than spawning a new CLI process.
556
let program = command.program.as_str();
557
if program != "vp" {
558
return Ok(HandledCommand::Verbatim);
0 commit comments