From 36375a507d591203d8ab8c430c3c064ec4eb86fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Tue, 28 Oct 2014 16:31:32 +0100 Subject: [PATCH] Clean npm and bower repositories on server update --- server_config/server_update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server_config/server_update.sh b/server_config/server_update.sh index b783f48..a294ffb 100755 --- a/server_config/server_update.sh +++ b/server_config/server_update.sh @@ -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