remove npm deps on hardcore reset

This commit is contained in:
Jonathan Lipps
2013-10-08 10:29:29 -07:00
parent 1f38724159
commit 259a6c8d69

View File

@@ -51,6 +51,10 @@ run_cmd() {
reset_general() {
echo "RESETTING NPM"
set +e
if $hardcore ; then
echo "* Removing NPM modules"
run_cmd rm -rf node_modules
fi
if $include_dev ; then
echo "* Installing new or updated NPM modules (including devDeps)"
run_cmd npm install .