numux 2.5.0 → 2.5.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.
Files changed (2) hide show
  1. package/dist/numux.js +3 -3
  2. package/package.json +1 -1
package/dist/numux.js CHANGED
@@ -36,7 +36,7 @@ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports,
36
36
  var require_package = __commonJS((exports, module) => {
37
37
  module.exports = {
38
38
  name: "numux",
39
- version: "2.5.0",
39
+ version: "2.5.1",
40
40
  description: "Terminal multiplexer with dependency orchestration",
41
41
  type: "module",
42
42
  license: "MIT",
@@ -2053,7 +2053,7 @@ class ProcessManager {
2053
2053
  }
2054
2054
  this.restartAttempts.set(name, 0);
2055
2055
  state.exitCode = null;
2056
- state.restartCount++;
2056
+ state.restartCount = 0;
2057
2057
  this.startTimes.set(name, Date.now());
2058
2058
  const { command, env } = this.expandDependencyCaptures(name);
2059
2059
  runner.restart(cols, rows, command, env);
@@ -2092,7 +2092,7 @@ class ProcessManager {
2092
2092
  }
2093
2093
  this.restartAttempts.set(name, 0);
2094
2094
  state.exitCode = null;
2095
- state.restartCount++;
2095
+ state.restartCount = 0;
2096
2096
  this.startTimes.set(name, Date.now());
2097
2097
  const { command, env } = this.expandDependencyCaptures(name);
2098
2098
  this.runners.get(name)?.restart(cols, rows, command, env);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "numux",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Terminal multiplexer with dependency orchestration",
5
5
  "type": "module",
6
6
  "license": "MIT",