less-watcher/run.sh
Benjamin Toby c358cc8f26 Updates
2025-01-16 07:45:52 +01:00

11 lines
229 B
Bash
Executable File

#!/bin/bash
if command -v bun >/dev/null 2>&1; then
exec bun dist/index.js "$@"
elif command -v node >/dev/null 2>&1; then
exec node dist/index.js "$@"
else
echo "Neither Bun nor Node.js is installed."
exit 1
fi