You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
202 B
Bash

#!/bin/bash
for i in $(ls `npm bin`/hookio-* 2> /dev/null)
do
echo running $i
nodejs $i &
done
for i in `ls | grep "hook.io-" 2>/dev/null`
do
echo running $i
nodejs $i/index.js &
done
wait