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
Copy file name to clipboardExpand all lines: packages/launchpad/bin/cli.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1175,7 +1175,7 @@ cli
1175
1175
dryrun: options?.dryRun||false,
1176
1176
quiet: options?.quiet||false,
1177
1177
shellOutput: options?.shell||false,
1178
-
skipGlobal: process.env.NODE_ENV==='test',// Skip global packages in test environment
1178
+
skipGlobal: process.env.NODE_ENV==='test'||process.env.LAUNCHPAD_SKIP_GLOBAL_AUTO_SCAN==='true',// Skip global packages in test environment or when explicitly disabled
Copy file name to clipboardExpand all lines: packages/launchpad/src/dev/shellcode.ts
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -293,14 +293,11 @@ __launchpad_chpwd() {
293
293
# Ensure global dependencies are available first
294
294
__launchpad_setup_global_deps
295
295
296
-
# Capture both stdout and stderr for clean output management
297
-
{
298
-
# Create temp files for stdout and stderr
296
+
# First install packages with visible progress messages (stderr visible, stdout hidden)
297
+
if LAUNCHPAD_SHELL_INTEGRATION=1 LAUNCHPAD_ORIGINAL_PATH="$LAUNCHPAD_ORIGINAL_PATH" ${launchpadBinary} dev "$project_dir" >/dev/null; then
298
+
# Installation succeeded, now get shell environment
299
299
local temp_file=$(mktemp)
300
-
local temp_stderr=$(mktemp)
301
-
302
-
# Run setup command silently, capturing both streams
303
-
if LAUNCHPAD_SHELL_INTEGRATION=1 LAUNCHPAD_ORIGINAL_PATH="$LAUNCHPAD_ORIGINAL_PATH" ${launchpadBinary} dev "$project_dir" --shell > "$temp_file" 2> "$temp_stderr"; then
300
+
if LAUNCHPAD_SHELL_INTEGRATION=1 LAUNCHPAD_ORIGINAL_PATH="$LAUNCHPAD_ORIGINAL_PATH" ${launchpadBinary} dev "$project_dir" --shell > "$temp_file" 2>/dev/null; then
0 commit comments