Commit da02c952 authored by zeke's avatar zeke

Blow away the cached node_modules directory instead of the entire cache.

parent 866f4a4f
......@@ -72,7 +72,7 @@ status "Installing dependencies"
npm install --userconfig $build_dir/.npmrc --production 2>&1 | indent
status "Caching node_modules directory for future builds"
rm -rf $cache_dir
rm -rf $cache_dir/node_modules
mkdir -p $cache_dir
test -d $build_dir/node_modules && cp -r $build_dir/node_modules $cache_dir/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment