diff --git a/package.json b/package.json index 3fd0163..83bf511 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "egg-ts-helper", - "version": "1.6.1", + "version": "1.6.2", "description": "egg typescript helper", "bin": { "ets": "dist/bin.js" diff --git a/src/register.ts b/src/register.ts index c52f946..2597325 100644 --- a/src/register.ts +++ b/src/register.ts @@ -45,8 +45,6 @@ function register() { ps.kill('SIGHUP'); } } - - fs.unlinkSync(cacheFileDir); } process.on('exit', close);