Permalink
Browse files

add node version to the cache path

  • Loading branch information...
1 parent 86c611a commit 6472ce71b8f7a51dde563ebfd3bc6f2d8d267ea7 @ddollar ddollar committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/compile
View
2 bin/compile
@@ -123,7 +123,7 @@ NPM_VERSION=$(package_resolve_version "npm")
echo "Using npm version: ${NPM_VERSION}" | indent
# cache directories
-CACHE_STORE_DIR="$CACHE_DIR/node_modules/$NPM_VERSION"
+CACHE_STORE_DIR="$CACHE_DIR/node_modules/$NODE_VERSION/$NPM_VERSION"
CACHE_TARGET_DIR="$BUILD_DIR/node_modules"
# s3 packages

0 comments on commit 6472ce7

Please sign in to comment.