Clean npm and bower repositories on server update

This commit is contained in:
Gaël Métais
2014-10-28 16:31:32 +01:00
parent fc5bf1efc5
commit 36375a507d
+2
View File
@@ -11,7 +11,9 @@ git pull
git stash pop
# In case something was added in package.json or bower.json
rm -rf node_modules
npm install --production
rm -rf bower_components
bower install --config.interactive=false --allow-root
# Restart the server