Skip to content

Instantly share code, notes, and snippets.

@richardj
Created October 15, 2014 06:07
Show Gist options
  • Save richardj/85377bcff51efcd1b0ba to your computer and use it in GitHub Desktop.
Save richardj/85377bcff51efcd1b0ba to your computer and use it in GitHub Desktop.
start.sh with --rebuild flag
#!/bin/bash
while test $# -gt 0; do
case "$1" in
--rebuild)
cd assets/jscss && bower update && cd -
cd assets/jscss && npm update && cd -
break
;;
esac
done
rm -rf cache/*
php start.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment