Skip to content

Commit 8ff790d

Browse files
committed
fix(larasets): 🐛 improve logging for pm2 execution context
1 parent 21a1f1b commit 8ff790d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/larasets/_srv.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ help
1212

1313
#### Execute command
1414
if [ -n "$LARAVEL_SAIL" ] && [ "$LARAVEL_SAIL" -eq 1 ] && sail ps --status running | grep --after-context=1 -q -; then
15+
zz_log i "Running pm2 inside Sail"
1516
server='sail npx --yes pm2'
1617
else
18+
zz_log i "Running pm2 locally"
1719
server='npx --yes pm2'
1820
fi
1921

0 commit comments

Comments
 (0)