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 +1 -1
- package/src/ProcessManager.js +1 -1
package/package.json
CHANGED
package/src/ProcessManager.js
CHANGED
|
@@ -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.
|
|
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();
|