diff --git a/src/background/services/pier-service.ts b/src/background/services/pier-service.ts index a1ae7ba..36e023d 100644 --- a/src/background/services/pier-service.ts +++ b/src/background/services/pier-service.ts @@ -16,7 +16,7 @@ import mv from 'mv' import { each } from 'async'; import find from 'find-process'; -const IS_PROD = process.env.NODE_ENV === 'production'; +const IS_PROD = !isDev; const platform = getPlatform(); const asyncRm = promisify(unlink);