Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@zeke

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

:boom: node_modules :boom:

@zeke zeke merged commit f40e46f into from
@zeke zeke deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/compile
View
2  bin/compile
@@ -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/
Something went wrong with that request. Please try again.