diff --git a/deploy.sh b/deploy.sh
index 5a148aadd7a44b1f8e4e1a5834a7b9754ec22bda..d482b3e45ac16b1c08cea66eda4ca6b5f119265c 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -87,7 +87,7 @@ make -j 8
 
 cd ../gzbridge
 $DIR/node_modules/.bin/node-gyp configure
-$DIR/node_modules/.bin/node-gyp build -d
+$DIR/node_modules/.bin/node-gyp build -r
 
 RETVAL=$?
 if [ $RETVAL -ne 0 ]; then