1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00
This commit is contained in:
Aiko Mastboom 2013-05-13 19:53:12 +02:00
parent 537fd9412a
commit 914b7369b1

View File

@ -21,7 +21,7 @@ PROTOTYPER=$(basename $PWD)
fleet-ps | grep -B 2 "${PROTOTYPER}/" | grep pid | cut -d " " -f 2 | xargs fleet-stop
# cleanup other commits
fleet-exec -- bash -c "ls .. | grep ${PROTOTYPER} | grep -v \$(basename \${PWD}) | xargs -Icommit rm -rf ../commit"
fleet-exec -- bash -c "ls .. | grep ${PROTOTYPER}. | grep -v \$(basename \${PWD}) | xargs -Icommit rm -rf ../commit"
# start new
# not using 'npm start' because when killed it doesn't kill its children (server.js)