|
|
@ -1,7 +1,7 @@
|
|
|
|
#!/bin/sh
|
|
|
|
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
|
|
|
|
CMD="npm start"
|
|
|
|
CMD="npm start && pm2 start"
|
|
|
|
|
|
|
|
|
|
|
|
# if the first arg starts with "-" pass it to program
|
|
|
|
# if the first arg starts with "-" pass it to program
|
|
|
|
if [ "${1#-}" != "$1" ]; then
|
|
|
|
if [ "${1#-}" != "$1" ]; then
|
|
|
|