pm2/bin/pm2-dev
2024-10-18 00:54:38 +02:00

12 lines
223 B
Bash
Executable File

#!/bin/bash
SCRIPT_PATH="$(dirname "$0")/../lib/binaries/DevCLI.js"
# Check if 'bun' is available, otherwise use 'node'
if command -v bun &> /dev/null
then
bun "$SCRIPT_PATH" "$@"
else
node "$SCRIPT_PATH" "$@"
fi