Skip to content

Commit

Permalink
fix pkgx dev
Browse files Browse the repository at this point in the history
fix pkgx dev
  • Loading branch information
tsirysndr committed Mar 16, 2024
1 parent face027 commit a7c085a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/ext/src/pkgx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl Extension for Pkgx {

let mut child = Command::new("bash")
.arg("-c")
.arg(format!("eval \"$(pkgx --shellcode)\" && {}", cmd))
.arg(format!("eval \"$(pkgx --shellcode)\" && dev; {}", cmd))
.current_dir(work_dir)
.stdout(Stdio::piped())
.stderr(Stdio::piped())
Expand Down Expand Up @@ -123,6 +123,7 @@ impl Extension for Pkgx {
.stderr(Stdio::inherit())
.spawn()?;
child.wait()?;

Ok(())
}
}

0 comments on commit a7c085a

Please sign in to comment.