Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Dec 17, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/compile
Expand Up @@ -72,7 +72,7 @@ status "Installing dependencies"
npm install --userconfig $build_dir/.npmrc --production 2>&1 | indent npm install --userconfig $build_dir/.npmrc --production 2>&1 | indent


status "Caching node_modules directory for future builds" status "Caching node_modules directory for future builds"
rm -rf $cache_dir rm -rf $cache_dir/node_modules
mkdir -p $cache_dir mkdir -p $cache_dir
test -d $build_dir/node_modules && cp -r $build_dir/node_modules $cache_dir/ test -d $build_dir/node_modules && cp -r $build_dir/node_modules $cache_dir/


Expand Down