numux 1.10.1 → 1.10.2

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 +4 -1
  2. package/package.json +1 -1
package/dist/numux.js CHANGED
@@ -22,7 +22,7 @@ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports,
22
22
  var require_package = __commonJS((exports, module) => {
23
23
  module.exports = {
24
24
  name: "numux",
25
- version: "1.10.1",
25
+ version: "1.10.2",
26
26
  description: "Terminal multiplexer with dependency orchestration",
27
27
  type: "module",
28
28
  license: "MIT",
@@ -1728,6 +1728,9 @@ class ProcessManager {
1728
1728
  updateStatus(name, status) {
1729
1729
  const state = this.states.get(name);
1730
1730
  state.status = status;
1731
+ if (status === "ready" && this.config.processes[name].readyPattern) {
1732
+ this.restartAttempts.set(name, 0);
1733
+ }
1731
1734
  this.emit({ type: "status", name, status });
1732
1735
  }
1733
1736
  restart(name, cols, rows) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "numux",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "Terminal multiplexer with dependency orchestration",
5
5
  "type": "module",
6
6
  "license": "MIT",