diff --git a/boundle.sh b/boundle.sh index b0d2f0f..86f2736 100755 --- a/boundle.sh +++ b/boundle.sh @@ -5,7 +5,7 @@ if [ ! -d $module_path ]; then mkdir -p $module_path fi module_sub_path=$module_path"/node_modules" -#if [ ! -d $module_sub_path ]; then +if [ ! -d $module_sub_path ]; then npm install --prefer-offline --loglevel info --unsafe-perm=true --allow-root >> boundle.log echo 'copy node_modules to /data/publish/node_packages' >> boundle.log cp -r node_modules $module_sub_path