Skip to content

Commit

Permalink
remove node_modules before install
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Sep 9, 2014
1 parent 89994b6 commit c7cbd7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Update code and restart server (run from app server)
set -e
cd /home/feross/www/instant.io && git pull
cd /home/feross/www/instant.io && rm -rf node_modules
cd /home/feross/www/instant.io && npm install --quiet
cd /home/feross/www/instant.io && npm run build
sudo supervisorctl reload && sleep 3 && sudo supervisorctl restart instant

0 comments on commit c7cbd7a

Please sign in to comment.