puppyperpetual 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "puppyperpetual",
3
3
  "type": "module",
4
4
  "types": "./src/index.d.ts",
5
- "version": "1.3.0",
5
+ "version": "1.3.1",
6
6
  "description": "Run stuff FOREVER! PERPETUALLY!",
7
7
  "main": "./src/index.js",
8
8
  "exports": {
@@ -243,7 +243,7 @@ export class ProcessManager {
243
243
  await this.gitPull();
244
244
  }
245
245
  const newHash = await this.getGitHash();
246
- if (newHash && newHash !== this.currentHash && this.config.restart_on_update) {
246
+ if (newHash && newHash !== this.currentHash && this.options.restart_on_update) {
247
247
  this.logger.logSend(`Git hash changed from ${this.currentHash} to ${newHash}. Restarting process.`);
248
248
  this.currentHash = newHash;
249
249
  await this.startProcess();