Sfoglia il codice sorgente

Clean npm and bower repositories on server update

Gaël Métais 10 anni fa
parent
commit
36375a507d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      server_config/server_update.sh

+ 2 - 0
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