diff --git a/cacheDependencyManagers/npmConfig.js b/cacheDependencyManagers/npmConfig.js index 31977d3..1fec7e8 100644 --- a/cacheDependencyManagers/npmConfig.js +++ b/cacheDependencyManagers/npmConfig.js @@ -25,7 +25,8 @@ function getFileHash(filePath) { var json = JSON.parse(fs.readFileSync(filePath)); return md5(JSON.stringify({ dependencies: json.dependencies, - devDependencies: json.devDependencies + devDependencies: json.devDependencies, + environment: process.env.NODE_ENV })); }