diff options
author | isaacs <i@izs.me> | 2010-03-24 22:31:22 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-03-24 22:31:22 +0300 |
commit | 2ddd12f6d1da68406bd5fe54141d9dd671a514fc (patch) | |
tree | de53e7ab088fb3054d2e7d8025f14dd4d421d92b /npm.js | |
parent | 14bdd23f1304732c95aa58d96ba55b0a482f0eff (diff) |
save the config on exit
Diffstat (limited to 'npm.js')
-rwxr-xr-x | npm.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -51,3 +51,6 @@ Object.defineProperty(npm, "tmp", , enumerable:true }); +process.addListener("exit", function () { + npm.config.save(); +}); |